imagesetpixel

Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Set a single pixel
<?php imagesetpixel(    GdImage $image,    int $x,    int $y,    int $color): bool