Hello again,
I have a transparent PNG24 and I want to change a color but I have some problem, can you help me ?
I have a PNG24 with 2 col + trasparent, i convert it by [B]imagetruecolortopalette($im, false, 256);
so I check every color and if it is the color to replace I substituite it. It seem to be soimple but during this I lost the trasparent color which must be in 256,256,256! why ?!
If I set a color to 256,256,256 it comes black!
If I ask to print the color number ([B]imagecolorstotal
the color in photoshop 252,252,252 is 252,254,252 in PHP why ?
How I can replace a color from an image with 2 colors and transparent ? I prefere use the png24.
thnk! for your time!