Page 1 of 1

Resize at Pixel Count Limit produces pixel count over limit

Posted: 2013-07-22T07:14:23-07:00
by elmimmo
The following command:

Code: Select all

convert input.jpg -resize 2000000@ output.jpg
with input.jpg being 2630×1513, the command above produces output.jpg at 1865×1073, which totals 2001145px, hence this is a bug, as the pixel count of the resulting image should "contain no more than the given number of pixels".

Re: Resize at Pixel Count Limit produces pixel count over li

Posted: 2013-07-22T07:56:39-07:00
by dlemstra
Which version of ImageMagick are you using? This has been fixed in: 6.8.6-5

Re: Resize at Pixel Count Limit produces pixel count over li

Posted: 2013-07-23T09:42:48-07:00
by elmimmo
I see. It was on 6.8.6-3 (it is the current version available at Homebrew for Mac OS X)