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:[EMAIL PROTECTED]]
> Gesendet: Montag, 9. Juli 2001 16:04
> An: [EMAIL PROTECTED]
> 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. [EMAIL PROTECTED]
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/

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to