]> granicus.if.org Git - imagemagick/commitdiff
...
authorCristy <mikayla-grace@urban-warrior.org>
Sat, 4 May 2019 16:54:40 +0000 (12:54 -0400)
committerCristy <mikayla-grace@urban-warrior.org>
Sat, 4 May 2019 16:54:40 +0000 (12:54 -0400)
MagickCore/attribute.c

index a0997ef9fce1cd87cfceef01bcbaf5db793b0272..ae9f72f7506e1062ed40b64593e262befc215222 100644 (file)
@@ -237,7 +237,7 @@ static inline double GetMinEdgeBackgroundFactor(const EdgeInfo *edge)
   return(factor);
 }
 
-static RectangleInfo GetFuzzBoundingBox(const Image *image,
+static RectangleInfo GetEdgeBoundingBox(const Image *image,
   ExceptionInfo *exception)
 {
   CacheView
@@ -408,7 +408,7 @@ MagickExport RectangleInfo GetImageBoundingBox(const Image *image,
     (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename);
   artifact=GetImageArtifact(image,"trim:percent-background");
   if (artifact != (const char *) NULL)
-    return(GetFuzzBoundingBox(image,exception));
+    return(GetEdgeBoundingBox(image,exception));
   bounds.width=0;
   bounds.height=0;
   bounds.x=(ssize_t) image->columns;