Versions in this module Expand all Collapse all go1 go1.18.10 Jan 10, 2023 Changes in this version + const DisposalBackground + const DisposalNone + const DisposalPrevious + func Decode(r io.Reader) (image.Image, error) + func DecodeConfig(r io.Reader) (image.Config, error) + func Encode(w io.Writer, m image.Image, o *Options) error + func EncodeAll(w io.Writer, g *GIF) error + type GIF struct + BackgroundIndex byte + Config image.Config + Delay []int + Disposal []byte + Image []*image.Paletted + LoopCount int + func DecodeAll(r io.Reader) (*GIF, error) + type Options struct + Drawer draw.Drawer + NumColors int + Quantizer draw.Quantizer