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
<?php         $x = $this->argument(1)->type('digit')->required()->value();

        $y = $this->argument(2)->type('digit')->required()->value();



        return imagesetpixel($image->getCore(), $x, $y, $color->getInt());

    }

}