rotate-image
v2.0.0
Published
rotate images in 90° increments
Downloads
14
Readme
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