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