I'm using xampp on windows 7 to develop my programs but I've got a problem.
I try to start ImageMagick via the exec() function.
Here is my Code sniped.
<?php
$command = 'convert '.$tempOverlay.' '.$tempBg.' -compose Overlay -composite '.$tempImage;
exec($command);
die($command);
?>
If i enter the filled $command (convert temp/100000231446889-overlay.jpg temp/100000231446889-bg.jpg -compose Overlay -composite temp/100000231446889.jpg)in my cmd in the right folder its works perfectly, but with it executed by php i get no output of ImageMagick.
I checked if its executed in the right folder via ' Echo %CD%' but its the right folder.