On Mon, 25 Nov 2002, adrian [EMAIL PROTECTED] wrote: > sorry.i included the link so you can see the result > it's difficult to explain what it looks like without including > attachments - which is a worse idea i think! > there are no errors it just looks bad. > i didn't know that imagecreate() produces 8-bit images. > this implies that with older versions of gd (< 2.x) you can't > manipulate jpegs? gd is my only option. > adrian
You can read and produce JPEGs with GD < 2.x, but any JPEG you read is stripped to 8-bit, with as many colors as the reader can allocate. Any JPEG you produce will be 8-bit as well. GD stayed at 2.0.1 for quite a while (a year or more), which was a beta and had some serious bugs, but now it's being maintained again, and is up to 2.0.8... Unfortunately the PHP extension is broken and requires specific patches, so GD 2 support probably won't be widespread with ISPs until it's sorted out and stable... So you'll have to wait, or look into something like ImageMagick. -- Morgan Hughes C programmer and highly caffeinated mammal. [EMAIL PROTECTED] ICQ: 79293356 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php