const char
*p,
*q;
-
+
p=(const char *) target;
q=(const char *) source;
return(strcmp(p,q));
picon->colormap,(size_t) colors,sizeof(*picon->colormap));
if (picon->colormap == (PixelInfo *) NULL)
ThrowWriterException(ResourceLimitError,"MemoryAllocationError");
- SetPixelIndex(picon,(Quantum) picon->colors,0);
+ picon->colormap[colors-1].red=0;
+ picon->colormap[colors-1].green=0;
+ picon->colormap[colors-1].blue=0;
+ picon->colormap[colors-1].alpha=TransparentAlpha;
for (y=0; y < (ssize_t) picon->rows; y++)
{
q=GetAuthenticPixels(picon,0,y,picon->columns,1,exception);