Twinside / Juicy.Pixels

Haskell library to load & save pictures
BSD 3-Clause "New" or "Revised" License
238 stars 57 forks source link

Add option to apply JPEG rotation to image #194

Open ad-si opened 3 years ago

ad-si commented 3 years ago

The exif data of the JPEG can indicate an orientation. It can easily be constructed with e.g.:

exiftool -orientation="Rotate 90 CW" -overwrite_original image.jpeg

There should be flag to apply this orientation when loading a JPEG.