Fix incorrect printed_area calculation
This commit is contained in:
@@ -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."""
|
||||
|
||||
Reference in New Issue
Block a user