Fix incorrect printed_area calculation

This commit is contained in:
James R. Barlow
2023-09-21 00:02:02 -07:00
parent 3454c050ed
commit 67ed29dcea
+1 -1
View File
@@ -470,7 +470,7 @@ class ImageInfo:
"""Physical area of the image in square inches."""
if not self.renderable:
return 0.0
return float(self.width * self.dpi.w * self.height * self.dpi.h)
return float(self.width * self.dpi.x * self.height * self.dpi.y)
def __repr__(self):
"""Return a string representation of the image."""