]> granicus.if.org Git - imagemagick/blobdiff - coders/tile.c
(no commit message)
[imagemagick] / coders / tile.c
index 224a171bdc2637eb677eb1ee05836e728d209c06..f9a984b957d1c7f4f8aabc4d56dbd062f1f100d6 100644 (file)
@@ -17,7 +17,7 @@
 %                                 July 1992                                   %
 %                                                                             %
 %                                                                             %
-%  Copyright 1999-2012 ImageMagick Studio LLC, a non-profit organization      %
+%  Copyright 1999-2013 ImageMagick Studio LLC, a non-profit organization      %
 %  dedicated to making software imaging solutions freely available.           %
 %                                                                             %
 %  You may not use this file except in compliance with the License.  You may  %
@@ -117,8 +117,8 @@ static Image *ReadTILEImage(const ImageInfo *image_info,
   if (*image_info->filename == '\0')
     ThrowReaderException(OptionError,"MustSpecifyAnImageName");
   image->colorspace=tile_image->colorspace;
-  image->matte=tile_image->matte;
-  if (image->matte != MagickFalse)
+  image->alpha_trait=tile_image->alpha_trait;
+  if (image->alpha_trait == BlendPixelTrait)
     (void) SetImageBackgroundColor(image,exception);
   (void) CopyMagickString(image->filename,image_info->filename,MaxTextExtent);
   if (LocaleCompare(tile_image->magick,"PATTERN") == 0)