Wrong(?) behavior of convert -geometry

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
naoliv
Posts: 110
Joined: 2007-12-10T18:54:27-07:00
Location: Brazil

Wrong(?) behavior of convert -geometry

Post 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!
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Wrong(?) behavior of convert -geometry

Post 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.
Post Reply