Twinside / Juicy.Pixels

Haskell library to load & save pictures

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add option to apply JPEG rotation to image

ad-si opened this issue · comments

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.