From 8766dcc96a58b60a8505395e2c4e72abd80e5d43 Mon Sep 17 00:00:00 2001 From: Dirk Lemstra Date: Mon, 26 Mar 2018 09:27:51 +0200 Subject: [PATCH] Fixed writing compose property reported in #1060. --- coders/psd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coders/psd.c b/coders/psd.c index eb21edc3c..8499b948d 100644 --- a/coders/psd.c +++ b/coders/psd.c @@ -3350,7 +3350,7 @@ static MagickBooleanType WritePSDLayersInternal(Image *image, if (mask != (Image *) NULL) size+=WriteChannelSize(psd_info,image,-2); size+=WriteBlobString(image,image->endian == LSBEndian ? "MIB8" :"8BIM"); - size+=WriteBlobString(image,CompositeOperatorToPSDBlendMode(image)); + size+=WriteBlobString(image,CompositeOperatorToPSDBlendMode(next_image)); property=GetImageArtifact(next_image,"psd:layer.opacity"); if (property != (const char *) NULL) { -- 2.40.0