Page 1 of 1

ImageMagick 6.2.4 and geometry 200x150^

Posted: 2011-07-29T13:12:06-07:00
by paulwb
Hi,

I have problems with an ImageMagick 6.2.4 installation on a server. I try to execute a command (via php, which works locally), and the decisive part seems to be the "^" in the geometry statement:

convert -resize 200x150^ ...

Is this supported by ImageMagick 6.2.4? If not, is there a workaround?

For debugging purposes I tried to compile 6.2.4 (Linux), but I got following error running make after configure:

Magick++/lib/Geometry.cpp: In member function 'const Magick::Geometry& Magick::Geometry::operator=(const std::string&)':
Magick++/lib/Geometry.cpp:191:32: error: 'strcpy' was not declared in this scope
make: *** [Magick++/lib/Geometry.lo] Error 1

Thanks
Paul.

Re: ImageMagick 6.2.4 and geometry 200x150^

Posted: 2011-07-29T14:36:07-07:00
by fmw42
Your version of IM 6.2.4 is way too old to support that feature. The ^ feature is new as of IM 6.3.8-2

see http://www.imagemagick.org/script/comma ... p#geometry

Re: ImageMagick 6.2.4 and geometry 200x150^

Posted: 2011-07-29T22:59:33-07:00
by paulwb
Thanks, that explains it. So I will check the orientation before and adjusting the command then.