summaryrefslogtreecommitdiff
path: root/dmagick
diff options
context:
space:
mode:
Diffstat (limited to 'dmagick')
-rw-r--r--dmagick/Image.d6
1 files changed, 6 insertions, 0 deletions
diff --git a/dmagick/Image.d b/dmagick/Image.d
index 852141c..510cfb0 100644
--- a/dmagick/Image.d
+++ b/dmagick/Image.d
@@ -434,6 +434,12 @@ class Image
GravityType gravity = GravityType.NorthWestGravity,
double degrees = 0.0)
{
+ if ( boundingArea == Geometry.init )
+ {
+ boundingArea.width = columns;
+ boundingArea.height = rows;
+ }
+
DrawInfo* drawInfo = options.drawInfo;
AffineMatrix oldAffine = options.affine;