1.0.4 • Published 7 years ago

orientation-exif-blob v1.0.4

Weekly downloads
95
License
ISC
Repository
-
Last release
7 years ago

orientation-exif-blob

Properly displays an image via canvas based on the exif orientation data. Uses exif-orientation.

Write an image to blob using URL.createObjectURL() (IE10 >) and display it with the correct exif orientation data. Uses exif-orientation.

Install

npm install orientation-exif-blob --save

Usage

import resetImageOrientation from 'orientation-exif-blob'

resetImageOrientation(image, blob => {
  // do as you wish
  console.log(blob)
})
1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago