Documentation ¶
Index ¶
- func Blend(dest, src image.Image, mode internal.BlendMode) image.Image
- func CreateCelImage(file internal.File, cel internal.Cel, index int) image.Image
- func CreateFrameImage(file internal.File, frame internal.Frame) (image.Image, error)
- func CreateGrayscaleImage(file internal.File, cel internal.Cel, index int) image.Image
- func CreateRGBAImage(file internal.File, cel internal.Cel, index int) image.Image
- func Divide(a, b image.Image) image.Image
- func Frames(file internal.File) (frames []FrameImage, tags []Tag, err error)
- func Gif(file internal.File, path string) error
- func Png(file internal.File, path string) error
- func SortLayers(layers []internal.Layer, cels []internal.Cel) []internal.Layer
- func SplitFramesAndLayers(file internal.File) (frames []Frame, tags []Tag)
- type Frame
- type FrameImage
- type ImageFrame
- type Layer
- type LoopDirection
- type Tag
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateCelImage ¶
func CreateFrameImage ¶
func CreateGrayscaleImage ¶
func CreateRGBAImage ¶
Types ¶
type FrameImage ¶
type ImageFrame ¶
type Layer ¶
type LoopDirection ¶
type LoopDirection byte
const ( LoopDirectionForward LoopDirection = 0 LoopDirectionReverse LoopDirection = 1 LoopDirectionPingPong LoopDirection = 2 LoopDirectionPingPongReverse LoopDirection = 3 )
Click to show internal directories.
Click to hide internal directories.