Negative effect on an image using PHP

Below is the code for converting a image to Negative <?php$img = imagecreatefrompng(‘images.png’);imagefilter($img,IMG_FILTER_NEGATE);imagepng($img,’negative.png’);imagedestroy($img);?> Here images.png is original image and negative.png…

1 6 7 8 42