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.

Setup Information - Anthony 15/6/2008

List all the different options and setup details for your ImageMagick installation, the options are read into an array and the code loops through each one.

  1. <?php
  2. // Build the array of items to be used
  3. exec("convert convert -list list"$IMarray$code);
  4. // Start the loop to find and display the results
  5. foreach ($IMarray as $value) {
  6. echo "<br>system (\"convert -list $value\")";
  7. echo "<pre>";
  8. system("convert -list $value");
  9. echo "</pre><hr>";
  10. }
  11. ?>

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