From c197d1c7dbfe34d3ebb5c1aaff43f40741dd37cd Mon Sep 17 00:00:00 2001 From: cristy Date: Tue, 13 Oct 2009 19:56:53 +0000 Subject: [PATCH] --- ChangeLog | 3 +++ magick/resize.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 69e01a088..97c4cacd9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2009-10-14 6.5.7-0 Cristy + * Black channel is now set properly when resizing CMYKA images. + 2009-10-10 6.5.7-0 Anthony Thyssen * Bug Fixes for degenerate 'affine' cases of BilinearForward distortion. diff --git a/magick/resize.c b/magick/resize.c index 33b1f785f..07c0a6e3a 100644 --- a/magick/resize.c +++ b/magick/resize.c @@ -1867,7 +1867,7 @@ static MagickBooleanType HorizontalFilter(const ResizeFilter *resize_filter, (contribution[i].pixel-contribution[0].pixel); alpha=contribution[i].weight*QuantumScale*((MagickRealType) QuantumRange-(p+j)->opacity); - gamma+=alpha; + pixel.index+=alpha*indexes[j]; } resize_indexes[y]=(IndexPacket) RoundToQuantum(gamma*pixel.index); } -- 2.50.1