Jump to content

Recommended Posts

Posted

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?

 

Thanks,

mike

Posted
/usr/local/bin/ is the path to all Image::Magick files.

Thanks Don!

 

It's funny, the same commands that didn't work last night, are working today. :)

Join the conversation

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

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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...