diff --git a/coders/xcf.c b/coders/xcf.c
index cd82957..7dce50e 100644
--- a/coders/xcf.c
+++ b/coders/xcf.c
@@ -1063,7 +1063,7 @@
       if (image_type == GIMP_INDEXED)
         ThrowReaderException(CoderError,"ColormapTypeNotSupported");
   (void) SetImageBackgroundColor(image,exception);
-  image->matte=MagickTrue;
+  image->alpha_trait=BlendPixelTrait;
   /*
     Read properties.
   */