Resize at Pixel Count Limit produces pixel count over limit

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
elmimmo
Posts: 26
Joined: 2011-02-02T05:42:42-07:00
Authentication code: 8675308

Resize at Pixel Count Limit produces pixel count over limit

Post 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".
User avatar
dlemstra
Posts: 1570
Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789
Contact:

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

Post by dlemstra »

Which version of ImageMagick are you using? This has been fixed in: 6.8.6-5
.NET + ImageMagick = Magick.NET https://github.com/dlemstra/Magick.NET, @MagickNET, Donate
elmimmo
Posts: 26
Joined: 2011-02-02T05:42:42-07:00
Authentication code: 8675308

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

Post by elmimmo »

I see. It was on 6.8.6-3 (it is the current version available at Homebrew for Mac OS X)
Post Reply