Alvaro G. Vicario wrote:
for to resize and copy original photos into a new directory and to use
for a thumbnail gallery on the web;
what is better: GD, Netpbm or imagemagick and why?
I particularly like ImageMagick because:
* My PHP version is too old for GD
* It's easy to use: I get thumbs with one line of code
I also suppose that being compiled software rather than interpreted it
should be faster but it's just a guess.
I use a combination of the two for the images I generate on the fly on one
of the sites I manage, as they are made large and then reduced.
I use the GD library to open the source background image and write the text
onto it, and then ImageMagick to scale it down to the correct size (yes,
this may sound inefficient ie "why don't you just make it small to start
with", but there are good reasons for doing it this way).
Initially I had GD resizing the image but then ran a bunch of tests and
ImageMagick is considerably faster at resizing than GD, at least for the
images I was using anyway.
--
Chris Hope - The Electric Toolbox -
http://www.electrictoolbox.com/