NaturalHistoryMuseum / iiif-image-server

A IIIF Image Server
GNU General Public License v3.0
5 stars 0 forks source link

Use pillow for rotations instead of jpegtran #18

Closed jrdh closed 2 years ago

jrdh commented 2 years ago

Just easier really and avoids the errors. We could write some logic to only rotate/flip with jpegtran if the image width and height are divisible by 16 but quite frankly it's just easier not to. If performance becomes an issue here then that's a thing we can do.

Closes https://github.com/NaturalHistoryMuseum/iiif-image-server/issues/16