}
else { /* repeat previous line runcount* */
c=ReadBlobByte(image);
- if (c < 0)
- break;
+ if (c == EOF)
+ {
+ BImgBuff=(unsigned char *) RelinquishMagickMemory(BImgBuff);
+ return(-7);
+ }
RunCount=(unsigned char) c;
if(x) { /* attempt to duplicate row from x position: */
/* I do not know what to do here */
image->colormap[i].red=ScaleCharToQuantum(WPG1_Palette[i].Red);
image->colormap[i].green=ScaleCharToQuantum(WPG1_Palette[i].Green);
image->colormap[i].blue=ScaleCharToQuantum(WPG1_Palette[i].Blue);
+ image->colormap[i].alpha=OpaqueAlpha;
}
}
else
image->colormap[1].red =
image->colormap[1].green =
image->colormap[1].blue = QuantumRange;
+ image->colormap[1].alpha=OpaqueAlpha;
}
}
if(!image_info->ping)
ReadBlobByte(image));
image->colormap[i].blue=ScaleCharToQuantum((char)
ReadBlobByte(image));
+ image->colormap[i].alpha=OpaqueAlpha;
(void) ReadBlobByte(image); /*Opacity??*/
}
break;