From 5e80b47b6b1f2981b003f75a4a9755188b7dc788 Mon Sep 17 00:00:00 2001 From: Cristy Date: Wed, 18 Jan 2017 07:18:59 -0500 Subject: [PATCH] http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=31210 --- ChangeLog | 4 ++++ coders/tile.c | 5 ++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 76e12bf50..9bcc82e4d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2017-01-18 7.0.4-5 Cristy + * Don't set background for transparent tiled images (reference + http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=31210). + 2017-01-14 7.0.4-4 Cristy * Release ImageMagick version 7.0.4-4, GIT revision 19361:a12953c:20170114. diff --git a/coders/tile.c b/coders/tile.c index aa527d96b..aa5368bc9 100644 --- a/coders/tile.c +++ b/coders/tile.c @@ -124,9 +124,8 @@ static Image *ReadTILEImage(const ImageInfo *image_info, return(DestroyImageList(image)); image->colorspace=tile_image->colorspace; image->alpha_trait=tile_image->alpha_trait; - if (image->alpha_trait != UndefinedPixelTrait) - (void) SetImageBackgroundColor(image,exception); - (void) CopyMagickString(image->filename,image_info->filename,MagickPathExtent); + (void) CopyMagickString(image->filename,image_info->filename, + MagickPathExtent); if (LocaleCompare(tile_image->magick,"PATTERN") == 0) { tile_image->tile_offset.x=0; -- 2.40.0