Documentation ¶
Index ¶
- Constants
- func LoadFrames(path string) ([]FrameImage, []Tag, error)
- func LoadSplitFramesAndLayers(path string) (frames []Frame, tags []Tag, err error)
- func Slice(img image.Image, gridWidth, gridHeight int) (result []image.Image, err error)
- func Smash(layers []Layer) (result image.Image)
- func SmashAndSlice(layers []Layer, gridWidth, gridHeight int) (result []image.Image, err error)
- type BlendMode
- type Frame
- type FrameImage
- type Layer
- type Sliceable
- type Tag
Constants ¶
View Source
const ( BlendModeNormal = internal.BlendModeNormal BlendModeMultiply = internal.BlendModeMultiply BlendModeScreen = internal.BlendModeScreen BlendModeOverlay = internal.BlendModeOverlay BlendModeDarken = internal.BlendModeDarken BlendModeLighten = internal.BlendModeLighten BlendModeColorDodge = internal.BlendModeColorDodge BlendModeColorBurn = internal.BlendModeColorBurn BlendModeHardLight = internal.BlendModeHardLight BlendModeSoftLight = internal.BlendModeSoftLight BlendModeDifference = internal.BlendModeDifference BlendModeExclusion = internal.BlendModeExclusion BlendModeHue = internal.BlendModeHue BlendModeSaturation = internal.BlendModeSaturation BlendModeColor = internal.BlendModeColor BlendModeLuminosity = internal.BlendModeLuminosity BlendModeAddition = internal.BlendModeAddition BlendModeSubtract = internal.BlendModeSubtract BlendModeDivide = internal.BlendModeDivide )
Variables ¶
This section is empty.
Functions ¶
func LoadFrames ¶
func LoadFrames(path string) ([]FrameImage, []Tag, error)
Types ¶
type FrameImage ¶
type FrameImage = output.FrameImage
Click to show internal directories.
Click to hide internal directories.