Subject: bug#17519: [PATCH] take into account QuantumScale when reading imagemagick images

From: Nicolas Léveillé <[email-masked]>
Date: Wed, 21 May 2014 21:31:32 +0200

I tested this patch on OSX Mavericks, with ImageMagick compiled with a quantum of Q32, and it works

Nicolas

On 2014-05-19, at 22:04 , Paul Eggert <[email-masked]> wrote:

> Thanks for reporting this. Does the attached simpler patch fix the problem for you?  Dividing by QuantumRange instead of multiplying by QuantumScale avoids potential double-rounding problems in future versions of ImageMagick.
> <imagemagick.patch>