From: dirk Date: Mon, 12 Oct 2015 15:31:15 +0000 (+0200) Subject: Fixed enabling the alpha channel for the creation of the merged image. X-Git-Tag: 7.0.1-0~565^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7b5a0d558aa402f0d0a853c97866c14856a10be9;p=imagemagick Fixed enabling the alpha channel for the creation of the merged image. --- diff --git a/coders/psd.c b/coders/psd.c index d03c4ac9d..aec0ae314 100644 --- a/coders/psd.c +++ b/coders/psd.c @@ -1911,6 +1911,7 @@ static Image *ReadPSDImage(const ImageInfo *image_info,ExceptionInfo *exception) SetImageAlphaChannel(image,TransparentAlphaChannel,exception); image->background_color.alpha=TransparentAlpha; + image->background_color.alpha_trait=BlendPixelTrait; merged=MergeImageLayers(image,FlattenLayer,exception); ReplaceImageInList(&image,merged); }