Jump to content

ImageMagick not working


pentan

Recommended Posts

Hey guys,

I know ImageMagick is installed.  When I use this command in my PHP script:

[code]
exec("convert",$out);
echo "<pre>"; print_r($out); echo "</pre>";
[/code]

I get the info on convert.  But when I use this command nothing happens:

[code]
exec ("convert -geometry 20%x20% 'MA5.jpg' ./thumbs/'MA5.jpg'");
[/code]

What am I doing wrong?  The exact same command, cut and pasted in my telnet window in the same directory as the php script works exactly right. 

Thanks,
Michael
Link to comment
https://forums.phpfreaks.com/topic/13390-imagemagick-not-working/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.