Skip to content

nathan7/rotate-image

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

rotate images in 90° increments

Resources

License

Stars

Watchers

Forks

Packages

No packages published