From: cristy Date: Wed, 30 Oct 2013 23:44:18 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~3166 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=59856fd5d859c2a19f1019d252ebaeae382eb2e4;p=imagemagick --- diff --git a/coders/xcf.c b/coders/xcf.c index 69db38df7..394f52aaf 100644 --- a/coders/xcf.c +++ b/coders/xcf.c @@ -1063,7 +1063,7 @@ static Image *ReadXCFImage(const ImageInfo *image_info,ExceptionInfo *exception) if (image_type == GIMP_INDEXED) ThrowReaderException(CoderError,"ColormapTypeNotSupported"); (void) SetImageBackgroundColor(image,exception); - image->alpha_trait=BlendPixelTrait; + (void) SetImageAlpha(image,OpaqueAlpha,exception); /* Read properties. */ @@ -1334,7 +1334,7 @@ static Image *ReadXCFImage(const ImageInfo *image_info,ExceptionInfo *exception) /* Composite the layer data onto the main image, dispose the layer. */ - (void) CompositeImage(image,layer_info[0].image,OverCompositeOp, + (void) CompositeImage(image,layer_info[0].image,CopyCompositeOp, MagickTrue,layer_info[0].offset_x,layer_info[0].offset_y,exception); layer_info[0].image =DestroyImage( layer_info[0].image); }