imagegd2

Supported Versions: PHP 4 >= 4.0.7, PHP 5, PHP 7, PHP 8
Output GD2 image to browser or file
<?php imagegd2(    GdImage $image,    ?string $file = null,    int $chunk_size = 128,    int $mode = IMG_GD2_RAW): bool