Back to the snippets index

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.

IM code:

<?php
// Build the array of items to be used
exec("convert convert -list list"$IMarray$code);

// Start the loop to find and display the results
foreach ($IMarray as $value) {
echo 
"<br>system ("convert -list $value")";
echo 
"<pre>";
system("convert -list $value");
echo 
"</pre><hr>";
}
?>

Batch file - windows server
Fonts installed
Fonts Installed view
Gravity option
http image source
Image information
New image size in variable
Path - find automaticaly
Path to Imagemagick
Setup Information
Shell script
Variables in the code
Version of Imagemagick installed
Writing IM code