]> granicus.if.org Git - imagemagick/commitdiff
http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=26783
authorcristy <urban-warrior@git.imagemagick.org>
Sat, 27 Dec 2014 12:50:27 +0000 (12:50 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Sat, 27 Dec 2014 12:50:27 +0000 (12:50 +0000)
MagickCore/attribute.c

index dbad005830b1a9156c873d811b521f9654434546..e21276cc2f231c5f65413f88fec12b5aaa22a369 100644 (file)
@@ -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