From 5d8ed9f565e4a9b5191e86ced207226d0cad082c Mon Sep 17 00:00:00 2001 From: Cristy Date: Thu, 28 Feb 2019 05:40:24 -0500 Subject: [PATCH] ... --- MagickCore/attribute.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MagickCore/attribute.c b/MagickCore/attribute.c index b38d7ff8e..84775e1dd 100644 --- a/MagickCore/attribute.c +++ b/MagickCore/attribute.c @@ -345,7 +345,7 @@ MagickExport RectangleInfo GetImageBoundingBox(const Image *image, image_view=DestroyCacheView(image_view); bounds.x=(ssize_t) count.left; bounds.y=(ssize_t) count.top; - if (blend_factor < threshold) + if ((bounds.width == 0) || (bounds.height == 0)) SetGeometry(image,&bounds); return(bounds); } -- 2.40.0