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.

Image information - Anthony 15/6/2008

You can find the information about your image using the codes below.

  1. <?php
  2. //Minimal information
  3. echo "<pre>";
  4. system("identify ../code/sunflower.jpg");
  5. echo "</pre>";
  6. // All available information
  7. echo "<pre>";
  8. system("identify -verbose ../code/sunflower.jpg");
  9. echo "</pre>";
  10. ?>

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