From: cristy Date: Thu, 1 Apr 2010 18:56:37 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~9711 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3d8186183d8fe2d66d4d5824a47ca749ba198480;p=imagemagick --- diff --git a/ChangeLog b/ChangeLog index dcc27f816..7ee1ca492 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,9 +1,11 @@ 2010-03-31 6.6.1-0 Anthony Thyssen - * Fixed bug in Equal-Size Tile Cropping, when image has a page offset. + * Fixed bug in equal-size tile cropping, when image has a page offset. 2010-03-31 6.6.1-0 Cristy * The -recolor 4x4 matrix is now interpretted properly (previously it summed rather attenuating the alpha channel). + * Support writing 1-bit PSD images. + * Support LCMS 2.0. 2010-03-30 6.6.1-0 Glenn Randers-Pehrson * The new coders/png.c was failing to read a 1-bit paletted image properly. diff --git a/magick/transform.c b/magick/transform.c index d51b49c90..0e9ac247b 100644 --- a/magick/transform.c +++ b/magick/transform.c @@ -1737,7 +1737,7 @@ MagickExport MagickBooleanType TransformImage(Image **image, (offset.y+(geometry.y < 0 ? geometry.y : 0))); } crop.height-=crop.y; - crop.y += transform_image->page.y; + crop.y+=transform_image->page.y; for (offset.x=0; offset.x < (double) width; ) { if ((flags & AspectValue) == 0) @@ -1757,7 +1757,7 @@ MagickExport MagickBooleanType TransformImage(Image **image, (offset.x+(geometry.x < 0 ? geometry.x : 0))); } crop.width-=crop.x; - crop.x += transform_image->page.x; + crop.x+=transform_image->page.x; next=CropImage(transform_image,&crop,&(*image)->exception); if (next == (Image *) NULL) break;