+2010-05-08 6.6.1-7 Cristy <quetzlzacatenango@image...>
+ * Fix improper 'invalid colormap index' PNG bug.
+
2010-05-07 6.6.1-6 Anthony Thyssen <A.Thyssen@griffith...>
* Added % and ! modification flags to morphology distance kernel
scaling factor, for easier usage.
else /* image->storage_class != DirectClass */
for (pass=0; pass < num_passes; pass++)
{
- IndexPacket
- indice;
-
Quantum
*quantum_scanline;
*/
r=quantum_scanline;
for (x=0; x < (long) image->columns; x++)
- {
- indice=(IndexPacket) (*r++);
- indexes[x]=indice;
- q->red=image->colormap[(int) indice].red;
- q->green=image->colormap[(int) indice].green;
- q->blue=image->colormap[(int) indice].blue;
- }
+ indexes[x]=(IndexPacket) (*r++);
if (SyncAuthenticPixels(image,exception) == MagickFalse)
break;
if ((image->previous == (Image *) NULL) && (num_passes == 1))