Namespace: go.std.image.gif
v1.0Contents
Summary
Provides a low-level interface to the image/gif package.
Package gif implements a GIF image decoder and encoder.
The GIF specification is at https://www.w3.org/Graphics/GIF/spec-gif89a.txt.
Index
- *GIF
- *Options
- Decode
- DecodeAll
- DecodeConfig
- DisposalBackground
- DisposalNone
- DisposalPrevious
- Encode
- EncodeAll
- GIF
- Options
- arrayOfGIF
- arrayOfOptions
Legend
-
Constant
Variable
Function
Macro
Special form
Type
GoVar
Receiver/Method
Constants
Constants are variables with :const true in their metadata. Joker currently does not recognize them as special; as such, it allows redefining them or their values.-
DisposalBackground
Int v1.0Disposal Methods.
-
DisposalNone
Int v1.0Disposal Methods.
-
DisposalPrevious
Int v1.0Disposal Methods.
Variables
-
(None.)
Functions, Macros, and Special Forms
-
Decode
Function v1.0(Decode r)
Decode reads a GIF image from r and returns the first embedded
image as an image.Image.
Go input arguments: (r io.Reader)
Go returns: (image.Image, error)
Joker input arguments: [^go.std.io/Reader r]
Joker returns: [^go.std.image/Image, ^Error] -
DecodeAll
Function v1.0(DecodeAll r)
DecodeAll reads a GIF image from r and returns the sequential frames
and timing information.
Go input arguments: (r io.Reader)
Go returns: (*GIF, error)
Joker input arguments: [^go.std.io/Reader r]
Joker returns: [^*GIF, ^Error] -
DecodeConfig
Function v1.0(DecodeConfig r)
DecodeConfig returns the global color model and dimensions of a GIF image
without decoding the entire image.
Go input arguments: (r io.Reader)
Go returns: (image.Config, error)
Joker input arguments: [^go.std.io/Reader r]
Joker returns: [^go.std.image/Config, ^Error] -
Encode
Function v1.0(Encode w m o)
Encode writes the Image m to w in GIF format.
Go input arguments: (w io.Writer, m image.Image, o *Options)
Go returns: error
Joker input arguments: [^go.std.io/Writer w, ^go.std.image/Image m, ^*Options o]
Joker returns: ^Error -
EncodeAll
Function v1.0(EncodeAll w g)
EncodeAll writes the images in g to w in GIF format with the
given loop count and delay between frames.
Go input arguments: (w io.Writer, g *GIF)
Go returns: error
Joker input arguments: [^go.std.io/Writer w, ^*GIF g]
Joker returns: ^Error
Types
-
*GIF
Concrete Type v1.0GIF represents the possibly multiple images stored in a GIF file.
-
*Options
Concrete Type v1.0Options are the encoding parameters.
-
GIF
Concrete Type v1.0GIF represents the possibly multiple images stored in a GIF file.
-
Options
Concrete Type v1.0Options are the encoding parameters.
-
arrayOfGIF
Concrete Type v1.0GIF represents the possibly multiple images stored in a GIF file.
-
arrayOfOptions
Concrete Type v1.0Options are the encoding parameters.