From: Cristy Date: Sun, 3 Mar 2019 13:05:06 +0000 (-0500) Subject: ... X-Git-Tag: 7.0.8-30 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d439daf5b3c689b5febe6ada70c5b0ee28bf0957;p=imagemagick ... --- diff --git a/ChangeLog b/ChangeLog index 6b5c20e0f..c59cd0a14 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,5 @@ 2019-03-03 7.0.8-30 Cristy - * Release ImageMagick version 7.0.8-30, GIT revision 15375:a79202b42:20190303 + * Release ImageMagick version 7.0.8-30, GIT revision 15376:16d2b4e6a:20190303 2019-03-03 7.0.8-30 Cristy * Support define to remove additional background from an image during a diff --git a/MagickCore/attribute.c b/MagickCore/attribute.c index d68690af5..9df01437d 100644 --- a/MagickCore/attribute.c +++ b/MagickCore/attribute.c @@ -358,11 +358,8 @@ MagickExport RectangleInfo GetImageBoundingBox(const Image *image, bounds.x=(ssize_t) vertex.left; bounds.y=(ssize_t) vertex.top; if ((bounds.width == 0) || (bounds.height == 0)) - { - (void) ThrowMagickException(exception,GetMagickModule(),OptionWarning, - "GeometryDoesNotContainImage","`%s'",image->filename); - SetGeometry(image,&bounds); - } + (void) ThrowMagickException(exception,GetMagickModule(),OptionWarning, + "GeometryDoesNotContainImage","`%s'",image->filename); return(bounds); }