1.0.8 • Published 8 years ago

auto-rotate v1.0.8

Weekly downloads
17
License
ISC
Repository
github
Last release
8 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

8 years ago

1.0.7

10 years ago

1.0.6

10 years ago

1.0.5

10 years ago

1.0.4

11 years ago

1.0.3

11 years ago

1.0.2

11 years ago

1.0.1

11 years ago

1.0.0

11 years ago