Re: AW: [PHP-DB] image resizing
| From: | Christopher Ostmo | Date: | Fri, 13 Jul 2001 07:26:05 +0000 |
| Subject: | Re: AW: [PHP-DB] image resizing | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-10371@lists.php.net to get a copy of this message | ||
Stefan Siefert pressed the little lettered thingies in this order...
> There are several possibilities to do this... first PHP has the possibility
> to use the GD - Libs (which doesn't support Gif's because of licence
> problems). The second (and in my opinion better) posibility is ImageMagick
> which are some programs to modify pictures (you have to call them externaly
> from your php - scripts) (www.imagemagick.org). I think, I have seen several
> Tutorials to do so (PHP/ImageMagick) but on the fly.. I don't find them in
> my bookmarks now...
>
> Hope this helps,
>
> Stefan Siefert
>
> -----Ursprungliche Nachricht-----
> Von: Adv. Systems Design [mailto:asd_2000@yahoo.com]
> Gesendet: Montag, 9. Juli 2001 16:04
> An: php-db@lists.php.net
> Betreff: [PHP-DB] image resizing
>
>
> Is there a way of sizing image resolution on the fly?
>
> TIA
>
If you have ImageMagick, you only need to use the mogrify command:
exec("/usr/local/bin/mogrify -geometry 300x300 image.jpg");
This isn't built in to PHP, but it works very well if you have access to it.
Christopher Ostmo
a.k.a. tech@AppIdeas.com
AppIdeas.com
Innovative Application Ideas
Meeting cutting edge dynamic
web site needs since the
dawn of Internet time (1995)
For a good time,
http://www.AppIdeas.com/