JSPM

fix-image-rotation

2.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 61
  • Score
    100M100P100Q73751F
  • License MIT

Rotates the given image based on the EXIF values

Package Exports

  • fix-image-rotation

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (fix-image-rotation) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

fix-image-rotation

npm package to rotate the image based on EXIF values stored in the image.

Install

$ npm install fix-image-rotation

Usage

let fixRotation = require('fix-image-rotation')
let ArrayOfFilesToBeRotated = [File1, File2]
let myRotationFunction = async function (ArrayOfFilesToBeRotated) {
  let blobOfArray = await fixRotation.fixRotation(ArrayOfFilesToBeRotated)
  return blobOfArray
}

License

This project is licensed under the MIT License - see the LICENSE.md file for details