-resize with @ and > in geometry specification
Swiss army knife of image processing
Brought to you by:
bfriesen
I'm encountering some behavior that I don't quite understand:
$ gm identify /tmp/image-4d8d709b-39f7-4dd4-be94-782d65b087c8_visible.jpg /tmp/image-4d8d709b-39f7-4dd4-be94-782d65b087c8_visible.jpg JPEG 3680x3288+0+0 DirectClass 8-bit 7.5M 0.000u 0:01 $ gm -help GraphicsMagick 1.3.18 2013-03-10 Q8 http://www.GraphicsMagick.org/ $ gm convert -resize '5000000@>' /tmp/image-4d8d709b-39f7-4dd4-be94-782d65b087c8_visible.jpg foobar.jpg $ gm identify foobar.jpg foobar.jpg JPEG 2365x2113+0+0 DirectClass 8-bit 500.9K 0.000u 0:01
So it has made the image smaller in terms of the number of pixels, as desired.
With a freshly downloaded and built 1.3.21:
$ ./utilities/gm -help GraphicsMagick 1.3.21 2015-02-28 Q8 http://www.GraphicsMagick.org/ $ ./utilities/gm convert -resize '5000000@>' /tmp/image-4d8d709b-39f7-4dd4-be94-782d65b087c8_visible.jpg foobar.jpg $ ./utilities/gm identify foobar.jpg foobar.jpg JPEG 3680x3288+0+0 DirectClass 8-bit 1.3Mi 0.000u 0:01
Expected behavior: reducing the number of pixels like 1.3.18 did.
This issue is fixed by Mercurial changeset 14591:30c98380ccb3. Thank you very much for reporting it.