Jump to content

Recommended Posts

I'm attempting to resize images using Imagemagick and PHP. Anyone know what the path to convert is?


Here is a sample of a command I've tried with both system() and exec()


convert -geometry 100 x 100 temp/thumb_pic.jpg temp/thumb_pic.jpg


I've also tried..


/usr/local/bin/convert -geometry 100 x 100 temp/thumb_pic.jpg temp/thumb_pic.jpg


system() returns in error for me. I can't seem to find any information on TCH about the whereabouts of ImageMagick. help?




Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...