Snippets - Utilities

Snippets index page

NOTE: Most of the IM snippets have been tested on IM version 6.3.5 There may be some differences if you are using the code on other versions.

http image source - Anthony 16/6/2008

You can modify an image from another server by giving it the image path.

  1. <?php
  2. exec("convert http:www.rubblewebs.co.uk/imagemagick/original_images/sunflower.jpg -resize 50x50 output.jpg");
  3. ?>

For more examples and information check out the main Imagemagick section.

Batch file View

Fonts installed View

Fonts Installed view View

Gravity option View

http image source View

Image information View

New image size in variable View

Path - find automaticly View

Path to Imagemagick View

Setup Information View

Shell script View

Variables in the code View

Version of Imagemagick installed View

Writing IM code View