Re: What's the best way to rotate, resize, and thumbnail?
| From: | Ashley Sheridan | Date: | Sat, 17 Jan 2009 11:58:37 +0000 |
| Subject: | Re: What's the best way to rotate, resize, and thumbnail? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-286547@lists.php.net to get a copy of this message | ||
On Fri, 2009-01-16 at 20:38 -0500, Al wrote:
>
> port23user wrote:
> > I have a site (done in CodeIgniter) where users can upload pictures. When
> > they upload a picture, I want to rotate it (rotating is optional, depending
> > on how much cpu/ram I end up needing), resize it, and create a thumbnail.
> > Right now I'm doing it all in that order using GD, but I'm not sure if it's
> > as efficient as it could be. What's the best way to make this process
> > faster?
>
> Imagick class. Has more image manipulating functions than you'll ever use. You
> name, and there's function to do it.
>
GD is faster than ImageMagik, so if you can do it with that, keep on.
ImageMagick is only useful for the extra functionality it brings to the
table.
Ash
www.ashleysheridan.co.uk