small adjustment in export selection

This commit is contained in:
Mario Voigt 2021-12-10 12:44:32 +01:00
parent be95fae2b8
commit 4f6de126fe
1 changed files with 1 additions and 1 deletions

View File

@ -267,7 +267,7 @@ class ExportObject(inkex.EffectExtension):
img =
except Image.DecompressionBombError as e: #we could also increse PIL.Image.MAX_IMAGE_PIXELS = some large int
self.msg("Error. Image is too large. Reduce DPI and try again!")
self.msg("Error. Image is too large ({} x {} px). Reduce DPI and try again!".format(self.svg.uutounit(bbox.width), self.svg.uutounit(bbox.height)))
output_buffer = BytesIO(), format='PNG')