Jump to content

imagecolorset


Asheh

Recommended Posts

			$mp = imagecolorallocate($base_image, 255,0,255);
		imagecolorset($base_image, $mp , $col_blue[0], $col_blue[1], $col_blue[2]);
		ImagePNG($base_image,"",100);
        ImageDestroy($base_image);

 

Anyone know why this wont set the colour magic pink, 255,0,255 to blue? ive checked by outputting every value of the image and the colour definatly exsists but it still will not change colour...

Link to comment
https://forums.phpfreaks.com/topic/44118-imagecolorset/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.