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.

Path to Imagemagick - Anthony 15/6/2008

The path will be the same to all the other commands like composite.

  1. <?php
  2. echo "<pre>";
  3. system("type convert"); 
  4. echo "</pre>";
  5. //Alternative method
  6. echo "<pre>";
  7. system(which convert,$path); print_r($path); 
  8. echo "</pre>";
  9. ?>

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