0.1.5 • Published 7 years ago

tucepi-rotate v0.1.5

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

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