How would I convert 24/32-bit PNG images to paletted (8-bit) PNGs in PHP? -


i want convert images png format, resize them (width/height) , convert them same way http://tinypng.org (to 8-bit paletted pngs). how can in php?

i know convert png, use imagepng (built in php function), , resize them width/height use combination of imagecopyresampled , imagecreatetruecolor (correct?), i'm not sure how convert pngs 8-bit.


Comments

Popular posts from this blog

assembly - 8086 TASM: Illegal Indexing Mode -

javascript - addthis share facebook and google+ url -

java - Simulate the tossing of a coin three times and print out the percentage of cases in which one gets three tails -