Imagemagick is THE preferred sollution, since downsizing
images makes them blurry. With imagemagick you can sharpen
then afterwards, and they are brand new shiny funky thumbs!

There is a tutorial on which describes and shows
a live example on how to incorporate the ImageMagick power
into your scripts. You do however need to install the ImageMagick
module on the server (windows is easy, hust depack the files and
point to migrify.exe, no need to install it its just a bunch of DLLs).
If your hosting provider doesnt want to install ImageMagick, you
have to use GD. Nice class for GD just released on
by the way. You need however to reprogram some og the scaling
functions, as they are a bit "unfinnished".

I use GD as a "backup", in case ImageMagick isnt present on
the server. But then I get those blurry ones I dont like...

Kim Steinhaug
There are 10 types of people when it comes to binary numbers:
those who understand them, and those who don't.

"Christopher Ostmo" <[EMAIL PROTECTED]> wrote in message
> Stefan Siefert pressed the little lettered thingies in this order...
> > There are several possibilities to do this... first PHP has the
> > to use the GD - Libs (which doesn't support Gif's because of licence
> > problems). The second (and in my opinion better) posibility is
> > which are some programs to modify pictures (you have to call them
> > from your php - scripts) ( I think, I have seen
> > Tutorials to do so (PHP/ImageMagick) but on the fly.. I don't find them
> > my bookmarks now...
> >
> > Hope this helps,
> >
> > Stefan Siefert
> >
> > -----Ursprungliche Nachricht-----
> > Von: Adv. Systems Design [mailto:[EMAIL PROTECTED]
> > Gesendet: Montag, 9. Juli 2001 16:04
> > 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
> Christopher Ostmo
> Innovative Application Ideas
> Meeting cutting edge dynamic
> web site needs since the
> dawn of Internet time (1995)
> For a good time,

PHP Database Mailing List (
To unsubscribe, visit:

Reply via email to