From: Cristy Date: Sat, 4 May 2019 16:54:40 +0000 (-0400) Subject: ... X-Git-Tag: 7.0.8-45~27 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=776fe2936e6339939bb77bc547ecf3e0e05cd30a;p=imagemagick ... --- diff --git a/MagickCore/attribute.c b/MagickCore/attribute.c index a0997ef9f..ae9f72f75 100644 --- a/MagickCore/attribute.c +++ b/MagickCore/attribute.c @@ -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;