Re: Re: Image resize on upload

From: Date: Thu, 26 Feb 2004 08:38:23 +0000
Subject: Re: Re: Image resize on upload
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-178916@lists.php.net to get a copy of this message
I'll second that one, I wrote a shell script in PHP to resize images, using ImageMagicks mogrify command, and it took ages. It's really much too slow for a web site. If you need a faster solution, I think you have to buy something. On 26 Feb 2004, at 09:15, Adam Bregenzer wrote:
On Thu, 2004-02-26 at 02:25, Will wrote:
I forgot to mention what I was trying to do. There is a web page that pulls the image file name from the database then reads the URL to the directory where the image is. Is it possible to just resize it when the web page is brought up in the browser?
I use ImageMagick's[1] convert[2] to do this. It is not a PHP module and must be run through exec[3]. Also, in my experience image manipulation is rather time consuming, it is a good idea to cache altered images so they do not have to be recreated on every page load. [1] http://www.imagemagick.org/ [2] http://www.imagemagick.org/www/convert.html [3] http://www.php.net/exec -- Adam Bregenzer adam@bregenzer.net http://adam.bregenzer.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.general (#178916) next »