mlseim
08-21-2006, 05:23 PM
I've been playing around with PHP and using the GD Libary to
resize .jpg images. The tutorials I've been reading say things
like this:
PHP comes with two functions to do this: imagecopyresize() and imagecopyresampled(). The first function simply resizes the image, whilst the second function will resize but also resample the image. This means that the second function will create a resized image that looks much better.
============
So, I experimented with "resample" and noticed it seemed really slow.
I then went back to using Perl with Imagemagick. The Imagemagick
results always have higher quality resizing and much faster. So I'm
sticking with Perl Imagemagick.
============
Does anyone else have an idea of why using PHP GD is seemingly slow
and poor quality? Am I missing something with the tutorials I'm reading?
Just curious.
resize .jpg images. The tutorials I've been reading say things
like this:
PHP comes with two functions to do this: imagecopyresize() and imagecopyresampled(). The first function simply resizes the image, whilst the second function will resize but also resample the image. This means that the second function will create a resized image that looks much better.
============
So, I experimented with "resample" and noticed it seemed really slow.
I then went back to using Perl with Imagemagick. The Imagemagick
results always have higher quality resizing and much faster. So I'm
sticking with Perl Imagemagick.
============
Does anyone else have an idea of why using PHP GD is seemingly slow
and poor quality? Am I missing something with the tutorials I'm reading?
Just curious.