mirror of
https://github.com/ImageMagick/ImageMagick.git
synced 2026-05-25 11:24:54 +02:00
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user