]> granicus.if.org Git - imagemagick/commitdiff
...
authorCristy <urban-warrior@imagemagick.org>
Mon, 8 Aug 2016 23:45:04 +0000 (19:45 -0400)
committerCristy <urban-warrior@imagemagick.org>
Mon, 8 Aug 2016 23:45:04 +0000 (19:45 -0400)
MagickCore/shear.c

index 9b96881cff63cb347409f05152079d2100140f19..5d866b9ebaa48d1c9f1ebfa08cc24ba1b23080f2 100644 (file)
@@ -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))
     {