Jump to content

ImageMagick experts please help !!


lampstax

Recommended Posts

I've spent a bit of time looking for the answer but hopefully you are more experienced with Image Magick than I am.  I installed lastest version of IM on both my local (windows binary install) and on dev environment at work (redhat with command up2date imagemagick). 

 

Out of the box, on my local version, IM did what it was supposed to do.  It works perfectly.  Portions of the image get extracted out and that portion gets resized down the the thumbnail size.

 

On dev, the -thumbnail portion seems to work just fine, and it would resize the image, but it would not extract the portion I want it to extract.  It just resize the entire image. 

 

I am issuing via php's passthrough function the command:

 

convert -format jpeg -extract 1024x768+0+0 -thumbnail 600x450 /var/www/html-dev/images/managed/blogimage_raymanravingrabbids2shrek1163_1222111681.jpg /var/www/html-dev/images/managed/blogimage_raymanravingrabbids2shrek1163_1222111681.jpg_thumbs_600x450 

 

On my windows local version, it works perfectly fine. 

 

Is there any linux config for IM that could possibly have this effect ?  I'm pretty much stumped.  Google is not my friend for this one.

Link to comment
https://forums.phpfreaks.com/topic/125352-imagemagick-experts-please-help/
Share on other sites

Just wanted to clarify that even though I installed the latest 'available' versions on both machines, version do not match.

 

Its version 6.4.3-7 of IM on my Windows machine and version 6.0.7.1 on the redhat box which is the most updated version via up2date.    Could this be why ?

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.