rotate-image

2.0.0 • Public • Published

rotate-image

rotate images in 90° increments

Installation

$ npm install nathan7/rotate-image nathan7/canvas

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

Readme

Keywords

none

Package Sidebar

Install

npm i rotate-image

Weekly Downloads

1

Version

2.0.0

License

MIT

Last publish

Collaborators

  • nathan7