From ec1e801f1a7caa8b595c69121deb297d377569a3 Mon Sep 17 00:00:00 2001 From: cristy Date: Sat, 27 Dec 2014 12:50:27 +0000 Subject: [PATCH] http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=26783 --- MagickCore/attribute.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.50.1