Back to the snippets index

Path to Imagemagick

( Anthony 15/6/2008 )

The path will be the same to all the other commands like composite.

IM code:

<?php
echo "<pre>";
system("type convert"); 
echo 
"</pre>";

//Alternative method
echo "<pre>";
system(\'which convert\',$path); print_r($path); 
echo "</pre>";
?>