Moved from the legacy PIL.TiffImagePlugin.ImageFileDirectory_v1 to PIL.TiffImagePlugin.ImageFileDirectory_v2 in PIL.Image.Exif. This means that Exif RATIONALs and SIGNED_RATIONALs are now read as PIL.TiffImagePlugin.IFDRational, instead of as a tuple with a numerator and a denominator.
This change converts IFDRational type to tuple before conversion.
Coverage increased (+0.002%) to 94.887% when pulling 5209b53e9689ce28dcd045f384633378d619718f on xvuko:master into 3422fbe7a12c3ebcc90532d8e1f4e3be32ece80c on hMatoba:master.
This is fix for #108
From Pillow 7.2.0 release notes:
This change converts IFDRational type to tuple before conversion.