ejeschke / ginga

The Ginga astronomical FITS file viewer
BSD 3-Clause "New" or "Revised" License
121 stars 77 forks source link

Make pillow a required package, change piexif to exifread #998

Closed ejeschke closed 2 years ago

ejeschke commented 2 years ago

Since we are planning to deprecate the mock backend, and pillow is used in many places, as well as being a very common package, this adds pillow as a requirement. It also changes the optional piexif package to exifread, which is a little less code verbose to use, a bit more popular and well maintained.

This also restores a couple of lines needed in the OpenCv RGB file handler to make auto-orientation of RGB images work correctly.

ejeschke commented 2 years ago

When you have a chance, @pllim.

ejeschke commented 2 years ago

Thank you, @pllim!