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.

Batch file - Anthony 29/6/2008

Run a batch file on a windows server ? The php file and batch file are in the same folder. UNTESTED

  1. <?php
  2. system(realpath(dirname(__FILE__)) . '\\simple.bat');
  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