Index: coders/xpm.c =================================================================== --- coders/xpm.c.orig +++ coders/xpm.c @@ -415,7 +415,7 @@ static Image *ReadXPMImage(const ImageIn image->storage_class=DirectClass; image->matte=MagickTrue; } - status=QueryColorCompliance(target,XPMCompliance,&image->colormap[j], + status=QueryColorCompliance(target,AllCompliance,&image->colormap[j], exception); if (status == MagickFalse) break;