orientation-exif-blob

1.0.4 • Public • Published

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)
})

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.4
    0
    • latest

Version History

Package Sidebar

Install

npm i orientation-exif-blob

Weekly Downloads

0

Version

1.0.4

License

ISC

Last publish

Collaborators

  • chrisborrowdale