RE: [PHP] GD jpg thumbnail - ugly discollored
| From: | Victor | Date: | Sat, 25 Jan 2003 22:23:19 +0000 |
| Subject: | RE: [PHP] GD jpg thumbnail - ugly discollored | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-133135@lists.php.net to get a copy of this message | ||
Thanks it worked.
- Vic
-----Original Message-----
From: Mark Charette [mailto:charette@woodwind.org]
Sent: Saturday, January 25, 2003 4:42 PM
To: Victor; php-general@lists.php.net
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:victor@argilent.com]
> 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