Fix GetEXIFDict for MPO files (#1442)

This commit is contained in:
Paul Friederichsen 2023-09-23 14:16:12 -05:00 committed by GitHub
parent 850a8c452e
commit f8ffeb9074
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -561,7 +561,7 @@ def GeneratePNGBytesNumPy( numpy_image ) -> bytes:
def GetEXIFDict( pil_image: PILImage.Image ) -> typing.Optional[ dict ]:
if pil_image.format in ( 'JPEG', 'TIFF', 'PNG', 'WEBP', 'HEIF', 'AVIF' ):
if pil_image.format in ( 'JPEG', 'TIFF', 'PNG', 'WEBP', 'HEIF', 'AVIF', 'MPO' ):
try: