Page 1 of 1

viff.c

Posted: 2014-12-08T08:07:55-07:00
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);

Re: viff.c

Posted: 2014-12-08T09:48:36-07:00
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.