Documentation
¶
Overview ¶
Package gif implements a GIF image decoder and encoder.
The GIF specification is at https://www.w3.org/Graphics/GIF/spec-gif89a.txt.
Index ¶
Constants ¶
View Source
const ( DisposalNone = 0x01 DisposalBackground = 0x02 DisposalPrevious = 0x03 )
Disposal Methods.
Variables ¶
This section is empty.
Functions ¶
func Decode ¶
Decode reads a GIF image from r and returns the first embedded image as an image.Image.
func DecodeConfig ¶
DecodeConfig returns the global color model and dimensions of a GIF image without decoding the entire image.
Types ¶
Click to show internal directories.
Click to hide internal directories.