viff.c

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
wizard29
Posts: 58
Joined: 2014-03-21T00:40:16-07:00
Authentication code: 6789
Location: Russia, Saint Petersburg
Contact:

viff.c

Post by wizard29 »

Hi.
The 17131 revision of the viff.c has build errors under the msvc2012 compliler at line (681, 684, 687) when the Quantum type is the float type.
The problem can be fixed as follows:

Code: Select all

SetPixelRed(q,image->colormap[(int)(ConstrainColormapIndex(image,index))].red);
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: viff.c

Post by magick »

We can reproduce the problem you posted and have a patch in ImageMagick 6.9.0-1 Beta available by sometime tomorrow. Thanks.
Post Reply