Last updated 2 years ago
Rotate the image clockwise. The size of the image may change after rotate.
The instance of *imgo.Image .
*imgo.Image
package main import ( "github.com/fishtailstudio/imgo" ) func main() { imgo.Load("gopher.png"). Rotate(90). Save("out.png") }
angle
int
angle of rotation.