From: Cristy Date: Mon, 8 Aug 2016 23:45:04 +0000 (-0400) Subject: ... X-Git-Tag: 7.0.2-8~8 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4a3c925f10b3c25ae1478f81bce1bf7eb6312503;p=imagemagick ... --- diff --git a/MagickCore/shear.c b/MagickCore/shear.c index 9b96881cf..5d866b9eb 100644 --- a/MagickCore/shear.c +++ b/MagickCore/shear.c @@ -198,11 +198,6 @@ static MagickBooleanType CropToFitImage(Image **image, % defined, while the amount the image is to be deskewed, in degrees is also % saved as the artifact "deskew:angle". % -% If the artifact "deskew:auto-crop" is given the image will be automatically -% cropped of the excess background. The value is the border width of all -% pixels around the edge that will be used to determine an average border -% color for the automatic trim. -% % The format of the DeskewImage method is: % % Image *DeskewImage(const Image *image,const double threshold, @@ -357,8 +352,8 @@ static MagickBooleanType RadonTransform(const Image *image, for (width=1; width < ((image->columns+7)/8); width<<=1) ; source_matrixs=AcquireMatrixInfo(width,image->rows,sizeof(unsigned short), exception); - destination_matrixs=AcquireMatrixInfo(width,image->rows,sizeof(unsigned short), - exception); + destination_matrixs=AcquireMatrixInfo(width,image->rows, + sizeof(unsigned short),exception); if ((source_matrixs == (MatrixInfo *) NULL) || (destination_matrixs == (MatrixInfo *) NULL)) {