From 7beda643d8713ff62ffc17b57e4b1f0d3fc9c523 Mon Sep 17 00:00:00 2001 From: cristy Date: Sat, 6 Jun 2015 23:22:46 +0000 Subject: [PATCH] --- MagickCore/composite-private.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MagickCore/composite-private.h b/MagickCore/composite-private.h index 0d233e5d4..d963a7f7c 100644 --- a/MagickCore/composite-private.h +++ b/MagickCore/composite-private.h @@ -41,7 +41,7 @@ static inline double MagickOver_(const double p,const double alpha, Sa=QuantumScale*alpha; Da=QuantumScale*beta; - return(Sa*p-Sa*Da*q+Da*q); + return(Sa*p+Da*q*(1.0-Sa)); } static inline double RoundToUnity(const double value) -- 2.40.0