[PHP] GD jpg thumbnail - ugly discollored

2003-01-25 Thread Victor
I have a script that takes uploaded images (jpeg only) and makes proportionate thumbnails etc, and saves them in jpeg (.jpg) format again (default compression of %75 I think) anyway, the thumbnails are UGLY. Beauty of content aside, they are discolored, and usually one predominant color takes over

Re: [PHP] GD jpg thumbnail - ugly discollored

2003-01-25 Thread George E. Papadakis
] Sent: Saturday, January 25, 2003 10:00 PM Subject: [PHP] GD jpg thumbnail - ugly discollored I have a script that takes uploaded images (jpeg only) and makes proportionate thumbnails etc, and saves them in jpeg (.jpg) format again (default compression of %75 I think) anyway, the thumbnails

RE: [PHP] GD jpg thumbnail - ugly discollored

2003-01-25 Thread Victor
That is not an option since I do not have control over the hosting company. -Original Message- From: George E. Papadakis [mailto:[EMAIL PROTECTED]] Sent: Saturday, January 25, 2003 3:20 PM To: Victor; [EMAIL PROTECTED] Subject: Re: [PHP] GD jpg thumbnail - ugly discollored Use

RE: [PHP] GD jpg thumbnail - ugly discollored

2003-01-25 Thread Mark Charette
make sure you use: ImageCreateTrueColor() to create the thumbnail image and ImageCopyResampled() when you copy the image. Mark C. -Original Message- From: Victor [mailto:[EMAIL PROTECTED]] I have a script that takes uploaded images (jpeg only) and makes proportionate thumbnails

RE: [PHP] GD jpg thumbnail - ugly discollored

2003-01-25 Thread Victor
Thanks it worked. - Vic -Original Message- From: Mark Charette [mailto:[EMAIL PROTECTED]] Sent: Saturday, January 25, 2003 4:42 PM To: Victor; [EMAIL PROTECTED] Subject: RE: [PHP] GD jpg thumbnail - ugly discollored make sure you use: ImageCreateTrueColor() to create the thumbnail