Versions in this module Expand all Collapse all v3 v3.0.5 Apr 16, 2023 v3.0.4 Mar 16, 2023 Changes in this version + const BitFormatInt8888Rev + const BitFormatShort5551 + const BitFormatShort565 + const ScaleBilinear + const ScaleNearestNeighbour + const ScaleNot + var Angles = [5]Rotate + func ExampleRotate(data []uint8, w int, h int, angle Angle) []uint8 + func Invert180(x, y, _, h int) (int, int) + func Resize(scaleType int, src *image.RGBA, out *image.RGBA) + func Rotate0(x, y, _, _ int) (int, int) + func Rotate180(x, y, w, h int) (int, int) + func Rotate270(x, y, _, h int) (int, int) + func Rotate90(x, y, w, _ int) (int, int) + type Angle uint + const Angle0 + const Angle180 + const Angle270 + const Angle90 + const Flip180 + type Canvas struct + func NewCanvas(w, h, size int) *Canvas + func (c *Canvas) Clear() + func (c *Canvas) Draw(encoding uint32, rot *Rotate, w, h, packedW, bpp int, data []byte, th int) *Frame + func (c *Canvas) Get(w, h int) *Frame + func (c *Canvas) Put(i *Frame) + type Frame struct + func (f *Frame) Copy() Frame + func (f *Frame) Opaque() bool + type Rotate struct + Angle Angle + Call func(x, y, w, h int) (int, int) + IsEven bool + func GetRotation(angle Angle) Rotate