Hi there,
I am using exec to run an ImageMagick convert function on some images. I need to use profiles and have lcsm installed and working.
If I run the following at the from the terminal with the Adobe1998 profile in the same directory then all is peachy. image2.tif then has the correct profile.
convert image1.tif -profile AdobeRGB1998.icc image2.tif
If I run this with PHP,
<?php
exec("/usr/local/bin/convert image1.tif -profile AdobeRGB1998.icc image2.tif");
?>
The convert function ignores th eprofile command completely. I think I might have the profile file in the wrong place but I've tried putting it in many different places. When exec is used does it default the execution from a default folder?
Cheers,
Steve