From c8a5f0e5177bb61031c0197d03cf19abdc5f5de9 Mon Sep 17 00:00:00 2001 From: cristy Date: Fri, 4 Apr 2014 11:36:37 +0000 Subject: [PATCH] --- MagickCore/fx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/MagickCore/fx.c b/MagickCore/fx.c index 08e22432d..707fcb762 100644 --- a/MagickCore/fx.c +++ b/MagickCore/fx.c @@ -4182,6 +4182,7 @@ MagickExport Image *SepiaToneImage(const Image *image,const double threshold, SetPixelGreen(sepia_image,ClampToQuantum(tone),q); if ((double) GetPixelBlue(image,q) < tone) SetPixelBlue(sepia_image,ClampToQuantum(tone),q); + SetPixelAlpha(sepia_image,GetPixelAlpha(image,p),q); p+=GetPixelChannels(image); q+=GetPixelChannels(sepia_image); } -- 2.40.0