Jump to content


Photo

ImageMagick not working


  • Please log in to reply
1 reply to this topic

#1 pentan

pentan
  • Members
  • PipPip
  • Member
  • 19 posts

Posted 01 July 2006 - 03:22 PM

Hey guys,

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

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

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

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

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
Michael Shaffer
www.pelentan.com
"You know you have it, but can you _show_ you have it?"

#2 pentan

pentan
  • Members
  • PipPip
  • Member
  • 19 posts

Posted 01 July 2006 - 07:15 PM

Never mind.  I was half asleep last night when I set it up and I forgot to set the new folder, thumbs, permisions so that the web could write to it. 

Michael
Michael Shaffer
www.pelentan.com
"You know you have it, but can you _show_ you have it?"




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users