Snippets - With php
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 ViewCheck size before resizing View
Dividing an image View
Fonts Installed view View
Get image data into a variable 1 View
Get image data into a variable 2 View
Gravity option View
New image size in variable View
Row of images View
Setup Information View
Use an array View
Warhol effect View