I have exactly the same problem! Anyone who can help?

/nicke

"Rick" <[EMAIL PROTECTED]> wrote in message
news:003701c1bb50$bda0e2e0$[EMAIL PROTECTED].;
Hello All,

Ok , I am about to loose my mind... this list is my last option i think  :)

this is what i have tried :
system("convert -pen black -draw 'text 120,60 YourText Here'  imageA.jpg
imageB.jpg");
The above does not work , the most i can get it imageA.jpg Becomes
imageB.jpg but the text does not get drawn

I striped the slashes, this does not work either, i su - to what my
webserver runs on to see if i can run the system command
via console, it works just fine , so i tried :

$a = escapeshellcmd('-pen black -draw');
$b = escapeshellarg('text 120,20  YourTextHere);
$c = escapeshellcmd("test.jpg doggy.jpg");
system("convert $a $b $c");

Same as the above, imageA becomes imageB and thats it. Permissions for
testing are -rwxrwxrwx

a basic test with system("convert -scale 500x600" imageA.jpg imageB.jpg"); =
Works Perfect

I am sorry for coming to the list for help , but i am at a final loss, i
have also tried shell_exec and exec to clear anything up. I have hit the
imagemagick mail list and i got  "Php Might have some issues" so if anyone
can lend a hand to get that system command to work , i would be most
appreciative.

Best Wishes
Rick Wilson




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to