Snippets - Utilities
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.
<?php// Build the array of items to be usedexec("convert convert -list list", $IMarray, $code);// Start the loop to find and display the resultsforeach ($IMarray as $value) {echo "<br>system (\"convert -list $value\")";echo "<pre>";system("convert -list $value");echo "</pre><hr>";}?>
For more examples and information check out the main Imagemagick section.
Batch file ViewFonts 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