frame

package
v0.0.0-...-9eee911 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 19, 2018 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Frame

type Frame struct {
	Data   image.Image
	Path   string
	Order  int
	Width  uint
	Height uint
}

Frame - Composant of GIF

func New

func New(p string, i int, w uint, h uint) Frame

New - Create a frame, but data(image) is not load and generate

func (*Frame) Generate

func (f *Frame) Generate()

Generate - Load input JPEG file (via path) and format in GIF

func (*Frame) NotGenerated

func (f *Frame) NotGenerated() bool

NotGenerated - Return false is Data is not valid

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL