Add test case for corrupt ICC profiles

This commit is contained in:
James R. Barlow
2022-05-26 00:41:19 -07:00
parent e7a44ba87a
commit 6c427f82ea
2 changed files with 23 additions and 1 deletions
+1 -1
View File
@@ -361,7 +361,7 @@ class ImageInfo:
self._comp = 3
except UnsupportedImageTypeError as ex:
self._comp = None
logger.warn(
logger.warning(
f"An image with a corrupt or unreadable ICC profile was found. "
f"The output PDF may not match the input PDF visually: {ex}. {self}"
)