-define jpeg:extent binary search iterations

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.
Locked
username1
Posts: 1
Joined: 2013-04-12T21:20:14-07:00
Authentication code: 6789

-define jpeg:extent binary search iterations

Post by username1 »

-define jpeg:extent appears to be using binary search to locate the optimum quality value in the range of 100 integers, and thus should do so in at most log_2(100)≈7 iterations.

According to -monitor, it frequently produces more than 7 temporary images while working.

Why would more than 7 temporary images ever (i.e. under any circumstances) need to be tested in order to locate the required quality value?

User avatar
magick
Site Admin
Posts: 11254
Joined: 2003-05-31T11:32:55-07:00

Re: -define jpeg:extent binary search iterations

Post by magick »

We can reproduce the problem you posted and have a patch in ImageMagick 6.8.4-10 Beta available by sometime tomorrow. Thanks.

Locked