bake / transform

Matrix transformations on images

Home Page:https://godoc.org/github.com/bake/transform

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Transform

GoDoc

Rotate, Scale, Shear and Translate draw.Images.

Function Output
Original Original
transform.Rotate(img, 45) Rotate
transform.Rotate(img, 90) Rotate
transform.Shear(img, 1.25, 0) Shear
transform.Translate(img, 150, 150) Shear
transform.Scale(img, 0.75, 0.75) Scale
transform.Scale(img, 1.5, 1.5)
transform.Rotate(img, 45)
Scale
transform.MirrorX(img) MirrorX
transform.MirrorY(img) MirrorY

About

Matrix transformations on images

https://godoc.org/github.com/bake/transform


Languages

Language:Go 100.0%