projects
/
imagemagick
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
368610b
)
(no commit message)
author
cristy
<urban-warrior@git.imagemagick.org>
Sat, 6 Jun 2015 23:22:46 +0000
(23:22 +0000)
committer
cristy
<urban-warrior@git.imagemagick.org>
Sat, 6 Jun 2015 23:22:46 +0000
(23:22 +0000)
MagickCore/composite-private.h
patch
|
blob
|
history
diff --git
a/MagickCore/composite-private.h
b/MagickCore/composite-private.h
index 0d233e5d48d2209d02f1ebdf26d06532254bb3fb..d963a7f7c01e76d9358dc62f43563cddd7e0dd00 100644
(file)
--- 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)