ImageMagick 6.2.4 and geometry 200x150^

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
paulwb
Posts: 2
Joined: 2011-07-29T12:49:58-07:00
Authentication code: 8675308

ImageMagick 6.2.4 and geometry 200x150^

Post 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.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: ImageMagick 6.2.4 and geometry 200x150^

Post 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
paulwb
Posts: 2
Joined: 2011-07-29T12:49:58-07:00
Authentication code: 8675308

Re: ImageMagick 6.2.4 and geometry 200x150^

Post by paulwb »

Thanks, that explains it. So I will check the orientation before and adjusting the command then.
Post Reply