package gif

Import Path
	image/gif (on golang.org and go.dev)

Dependency Relation
	imports 10 packages, and imported by 0 packages

Involved Source Files
	d-> reader.go
	    writer.go

Exported Type Names

type GIF (struct) GIF represents the possibly multiple images stored in a GIF file. BackgroundIndex byte Config image.Config Delay []int Disposal []byte Image []*image.Paletted LoopCount int func DecodeAll(r io.Reader) (*GIF, error) func EncodeAll(w io.Writer, g *GIF) error
type Options (struct) Options are the encoding parameters. Drawer draw.Drawer NumColors int Quantizer draw.Quantizer func Encode(w io.Writer, m image.Image, o *Options) error
Exported Values
func Decode(r io.Reader) (image.Image, error) Decode reads a GIF image from r and returns the first embedded image as an image.Image.
func DecodeAll(r io.Reader) (*GIF, error) DecodeAll reads a GIF image from r and returns the sequential frames and timing information.
func DecodeConfig(r io.Reader) (image.Config, error) DecodeConfig returns the global color model and dimensions of a GIF image without decoding the entire image.
const DisposalBackground = 2 Disposal Methods.
const DisposalNone = 1 Disposal Methods.
const DisposalPrevious = 3 Disposal Methods.
func Encode(w io.Writer, m image.Image, o *Options) error Encode writes the Image m to w in GIF format.
func EncodeAll(w io.Writer, g *GIF) error EncodeAll writes the images in g to w in GIF format with the given loop count and delay between frames.