Cristy
2021-07-17 13:26:56 -04:00
parent 433d17474d
commit 73ef50686e
+2 -2
View File
@@ -421,8 +421,8 @@ MagickExport RectangleInfo GetImageBoundingBox(const Image *image,
artifact=GetImageArtifact(image, "trim:edges");
if (artifact == (const char *) NULL)
{
bounds.width=0;
bounds.height=0;
bounds.width=image->columns == 1 ? 1 : 0;
bounds.height=image->rows == 1 ? 1 : 0;
bounds.x=(ssize_t) image->columns;
bounds.y=(ssize_t) image->rows;
}