exif-normalizer

1.0.1 • Public • Published

exif normalizer

Rotate and flip an image to match exif orientation

Meant for use in browser. Sorry, it won't work in webworkers :(

import resolveExif from 'exif-normalizer';

// use HTML Image object or
// image data url or
// image url
resolveExif(image).then(function(imageUrl) {
  ...
});

You can also pass a max width to thumbnail the image too:

resolveExif(image, 600)

Readme

Keywords

Package Sidebar

Install

npm i exif-normalizer

Weekly Downloads

21

Version

1.0.1

License

ISC

Last publish

Collaborators

  • freakypie