[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 are UGLY. Beauty of content aside, they are discolored, and usually one predominant color takes over the entire picture so they come looking like off-black and white thumbnails. WHY? And how can I fix this/get around it? This is some extra info. GD Support enabled GD Version 2.0 or higher FreeType Support enabled FreeType Linkage with freetype JPG Support enabled PNG Support enabled WBMP Support enabled __ Post your free ad now! http://personals.yahoo.ca -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] GD jpg thumbnail - ugly discollored
Use ImageMagick found @ http://www.imagemagick.org . It is all you need to handle images. Aside the binary external program take a look at this too : http://magick.communityconnect.com/ best of luck, --georgep - Original Message - From: Victor [EMAIL PROTECTED] To: [EMAIL PROTECTED] 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 are UGLY. Beauty of content aside, they are discolored, and usually one predominant color takes over the entire picture so they come looking like off-black and white thumbnails. WHY? And how can I fix this/get around it? This is some extra info. GD Support enabled GD Version 2.0 or higher FreeType Support enabled FreeType Linkage with freetype JPG Support enabled PNG Support enabled WBMP Support enabled __ Post your free ad now! http://personals.yahoo.ca -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] GD jpg thumbnail - ugly discollored
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 ImageMagick found @ http://www.imagemagick.org . It is all you need to handle images. Aside the binary external program take a look at this too : http://magick.communityconnect.com/ best of luck, --georgep - Original Message - From: Victor [EMAIL PROTECTED] To: [EMAIL PROTECTED] 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 are UGLY. Beauty of content aside, they are discolored, and usually one predominant color takes over the entire picture so they come looking like off-black and white thumbnails. WHY? And how can I fix this/get around it? This is some extra info. GD Support enabled GD Version 2.0 or higher FreeType Support enabled FreeType Linkage with freetype JPG Support enabled PNG Support enabled WBMP Support enabled __ Post your free ad now! http://personals.yahoo.ca -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php __ Post your free ad now! http://personals.yahoo.ca -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] GD jpg thumbnail - ugly discollored
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 etc, and saves them in jpeg (.jpg) format again (default compression of %75 I think) anyway, the thumbnails are UGLY. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] GD jpg thumbnail - ugly discollored
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 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 etc, and saves them in jpeg (.jpg) format again (default compression of %75 I think) anyway, the thumbnails are UGLY. __ Post your free ad now! http://personals.yahoo.ca -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php