alchem0x2A / py-wdf-reader

Python package for read-only accessing the wdf Raman spectroscopy from Ranishaw WiRE software
MIT License
40 stars 16 forks source link

Add compatibility with Pillow 7.2.0 #25

Closed markotoplak closed 4 years ago

markotoplak commented 4 years ago

Pillow 7.2.0 moved from PIL.TiffImagePlugin.ImageFileDirectory_v1 to PIL.TiffImagePlugin.ImageFileDirectory_v2, which means that rational numbers are now returned as IFDRational instead of (nominator, denominator) tuples.

This PR adds support for Pillow 7.2.0 while still keeping other versions supported.

markotoplak commented 4 years ago

Thank you for a quick release.