I’m trying to figure out if it’s possible to save a jpeg as an 8bit version instead of 16 bit or 24 bit.
I’m currently using imagecreate and then saving using imagejpeg but I can’t see any parameters in the manual to allow for 8bit versions.
I’ve searched stackoverflow and php.net I find it hard to believe this isn’t something easily achievable..
Thanks in advance
Have you tried imagemagic:
and with PHP: