From: Cristy Date: Sat, 10 Mar 2018 21:22:52 +0000 (-0500) Subject: ... X-Git-Tag: 7.0.7-26~33 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9c37ea5fddbde8a05f8721da0e2ad454e5ada6a4;p=imagemagick ... --- diff --git a/MagickCore/composite.c b/MagickCore/composite.c index 040056f80..7daaa6dad 100644 --- a/MagickCore/composite.c +++ b/MagickCore/composite.c @@ -495,7 +495,7 @@ static MagickBooleanType CompositeOverImage(Image *image, /* Copy channel. */ - q[i]=Sc; + q[i]=ClampToQuantum(Sc); continue; } /* @@ -1673,7 +1673,7 @@ MagickExport MagickBooleanType CompositeImage(Image *image, /* Copy channel. */ - q[i]=Dc; + q[i]=ClampToQuantum(Dc); continue; } /*