darickc / MMM-BackgroundSlideshow

MIT License
135 stars 78 forks source link

Rotate images before resize #116

Closed Tom-Hirschberger closed 2 years ago

Tom-Hirschberger commented 2 years ago

Added code to rotate jpg/jpeg images based on the exif orientation information before they get resized with Jimp functions. Jimp removes every Exif information so the orientation change needs to be performed before any Jimp function is called.