go1.20.5
GoThrough

gif.DisposalBackground

// Disposal Methods. const DisposalBackground = 0x02

gif.DisposalNone

// Disposal Methods. const DisposalNone = 0x01

gif.DisposalPrevious

// Disposal Methods. const DisposalPrevious = 0x03

gif.Decode

// Decode reads a GIF image from r and returns the first embedded // image as an image.Image. func Decode(r io.Reader) (image.Image, error)

gif.DecodeAll

// DecodeAll reads a GIF image from r and returns the sequential frames // and timing information. func DecodeAll(r io.Reader) (*GIF, error)

gif.DecodeConfig

// DecodeConfig returns the global color model and dimensions of a GIF image // without decoding the entire image. func DecodeConfig(r io.Reader) (image.Config, error)

gif.Encode

// Encode writes the Image m to w in GIF format. func Encode(w io.Writer, m image.Image, o *Options) error

gif.EncodeAll

// EncodeAll writes the images in g to w in GIF format with the // given loop count and delay between frames. func EncodeAll(w io.Writer, g *GIF) error