ImageMagick from PHP

How can I use ImageMagick from PHP? On own server I have the imagick package installed.

Imagick: PECL :: Package :: imagick

If you’re on the linux servers the path is /home/hsphere/local/ImageMagick-5.5.7

If I want to make on the fly thumbnail and not just set the html tag . must I use Image magick, If it’s not a MUST, can somebody tell me where can I download the script for resizing MULTIPLE image on the fly and display it to browser.
thank you

[QUOTE=veedee]
If I want to make on the fly thumbnail and not just set the html tag . must I use Image magick, If it’s not a MUST, can somebody tell me where can I download the script for resizing MULTIPLE image on the fly and display it to browser.
thank you
[/QUOTE]

You can also use the GD library functions if the are compiled into PHP. Refer to the PHP manual which has some excellent examples:

PHP: GD and Image Functions - Manual
http://www.php.net/imagecopyresized
PHP: imagecopyresampled - Manual

I have found from my own testing that ImageMagick is much faster at resizing images though.

I am on an Windows server. Is ImageMagick installed, and in what directory?

Thanks for your help!
Greg