imagecopyresampled() is same quality of imagecopyresized()
| From: | Christopher Mobarek | Date: | Tue, 03 Jan 2006 22:56:32 +0000 |
| Subject: | imagecopyresampled() is same quality of imagecopyresized() | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-228134@lists.php.net to get a copy of this message | ||
Everyone is saying that imagecopyresampled() greatly improves resizing quality
due to resampling. However, I noticed that my thumbnails were very jagged and
pixelated, not smooth as thumbnails should be. Even the slightly smaller images
had a lot of jagged edges.
The $src image is a resource of an imagecreatefromjpeg() while $dst is a
resource of an imagecreatetruecolor(). Then I just imagecopyresampled() the
$src to $dst.
I don't think I'm doing anything wrong.
Your thoughts?
Thanks.
--
Christopher Mobarek