2.0.0 • Published 11 years ago

rotate-image v2.0.0

Weekly downloads
2
License
-
Repository
github
Last release
11 years ago

rotate-image

rotate images in 90° increments

Installation

$ npm install nathan7/rotate-image

or

$ component install nathan7/rotate-image

API

rotateImage(image, rotation)

Rotates an image by the given rotation. Rotation is given as a number from 0 to 3 (out-of-range numbers are modulus'd)

License

MIT

2.0.0

11 years ago

1.0.0

11 years ago