1.0.8 • Published 6 years ago

auto-rotate v1.0.8

Weekly downloads
17
License
ISC
Repository
github
Last release
6 years ago

auto-rotate

Auto rotate JPEG images based on their EXIF Orientation tag. Promise based API.

Installation

$ npm install auto-rotate

Basic example

var rotator = require('auto-rotate');

rotator.autoRotateFile('rotated.jpg', 'fixed.jpg')
.then(function(rotated) {
    console.log(rotated ? 'Image rotated' : 'No rotation was needed');
}).catch(function(err) {
    console.error('Got error: '+err);
});
1.0.8

6 years ago

1.0.7

7 years ago

1.0.6

8 years ago

1.0.5

8 years ago

1.0.4

9 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago