From: cristy Date: Sat, 27 Dec 2014 12:50:27 +0000 (+0000) Subject: http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=26783 X-Git-Tag: 7.0.1-0~1535 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ec1e801f1a7caa8b595c69121deb297d377569a3;p=imagemagick http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=26783 --- diff --git a/MagickCore/attribute.c b/MagickCore/attribute.c index dbad00583..e21276cc2 100644 --- a/MagickCore/attribute.c +++ b/MagickCore/attribute.c @@ -236,7 +236,7 @@ MagickExport RectangleInfo GetImageBoundingBox(const Image *image, } } image_view=DestroyCacheView(image_view); - if ((bounds.width == 0) || (bounds.height == 0)) + if ((bounds.width == 0) && (bounds.height == 0)) (void) ThrowMagickException(exception,GetMagickModule(),OptionWarning, "GeometryDoesNotContainImage","`%s'",image->filename); else