Posted: 2006-09-12T14:07:16-07:00
If you intened on using ImageMagick with php I have some examples on my site.
www.rubblewebs.co.uk/imagemagick
To use these examples you will need to know where ImageMagick is installed; mine is /usr/local/bin/
Then just try something out like ( note the folder must be CHMOD to 777 ) the code below. The test image wants to be in the same folder as the page with the code.
What do you intend to do with ImageMagick anway ?
www.rubblewebs.co.uk/imagemagick
To use these examples you will need to know where ImageMagick is installed; mine is /usr/local/bin/
Then just try something out like ( note the folder must be CHMOD to 777 ) the code below. The test image wants to be in the same folder as the page with the code.
Code: Select all
<?php
exec("/usr/local/bin/convert -raise 5x5 test.jpg result.jpg");
?>
<img src="result.jpg">