On Tue, 29 Jun 2004 19:57:34 -0400, "Chung Leong"
<ch***********@hotmail.com> wrote:
<no@email.supplied> wrote in message
news:sk********************************@4ax.com.. . I'm using PHP with GD2 to create image thumbnails, but it gets
extremely slow when processing large images (1600x1200 or more). I
had to raise max_execution_time to more than 120 secs and I don't
think my client is going to like that :( I guess I could switch to
bilinear resizing but it looks really awful.
Are there any tricks to speed up GD2 a little?
Thanks in advance!
Try using imagecopyresize() instead of imagecopyresampled().
Yeap, that's what I meant about bicubic/bilinear resize. I'm using
bilinear now (imagecopyresized()) but of course quality is poor. I
guess that the GD2 libraries are not optimized at all cause Photoshop
or even Irfanview, Acdsee, etc. are a lot faster at bicubic resizing.