From ba0a4e3ec1b7da12d4ef6326612ecb1fe633fb18 Mon Sep 17 00:00:00 2001 From: Michel Bouwmans Date: Mon, 17 Dec 2018 17:19:41 +0100 Subject: [PATCH] Fix associated alpha handling (#1424) --- MagickCore/quantum-import.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MagickCore/quantum-import.c b/MagickCore/quantum-import.c index 253d635ae..b3db3f84c 100644 --- a/MagickCore/quantum-import.c +++ b/MagickCore/quantum-import.c @@ -4260,7 +4260,7 @@ MagickExport size_t ImportQuantumPixels(const Image *image, q+=GetPixelChannels(image); } } - if (quantum_info->alpha_type == DisassociatedQuantumAlpha) + if (quantum_info->alpha_type == AssociatedQuantumAlpha) { double gamma, -- 2.40.0