]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Tue, 13 Oct 2009 19:56:53 +0000 (19:56 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Tue, 13 Oct 2009 19:56:53 +0000 (19:56 +0000)
ChangeLog
magick/resize.c

index 69e01a088037f07ee03965164fbb50af3b78698d..97c4cacd961a0544994fed7bd144d6afa9be4e18 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2009-10-14  6.5.7-0 Cristy  <quetzlzacatenango@image...>
+  * Black channel is now set properly when resizing CMYKA images.
+
 2009-10-10  6.5.7-0 Anthony Thyssen <A.Thyssen@griffith...>
   * Bug Fixes for degenerate 'affine' cases of BilinearForward distortion.
 
index 33b1f785fe78c53aae4f53e33713c2fc105f7cf1..07c0a6e3a5976df2d49daac8e4626cbef3337ab3 100644 (file)
@@ -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);
             }