tucepi-rotate
v0.1.5
Published
Rotate and flip a jpeg buffer according to the exif orientation
Downloads
2
Maintainers
Readme
Simple function which rotates the images according to the exif.orientation value.
Accepts the following arguments:
- image buffer or path
- exif orientation value as number
- (optional) return mime type
https://www.daveperrett.com/articles/2012/07/28/exif-orientation-handling-is-a-ghetto/
Why Tucepi
The whole family went on vacation and we had a wonderful week on the beaches of Tucepi, Croatia during October 2018. When I came home I realized i was missing this specific function for my