Page 1 of 1

Wrong(?) behavior of convert -geometry

Posted: 2008-05-20T12:04:57-07:00
by naoliv
Hi!

From this Debian bug report, the user says that using ImageMagick 6.2.4 02/10/07 he is able to resize a picture when using:

Code: Select all

convert -geometry 150x150+0+0 infile.jpg outfile.jpg
And that with newer versions of ImageMagick (tested with 6.4.1-3) it doesn't work.
The help message of both versions (the old one and the current) is the same about geometry.

Did the behavior of geometry changed, is it wrong now or is the help message outdated, please?

Thank you!

Re: Wrong(?) behavior of convert -geometry

Posted: 2008-05-20T13:18:49-07:00
by magick
Use -resize instead of -geometry. For a discussion see 'Why did the command line style change' at http://www.imagemagick.org/Usage/basics/#why.