Versions in this module Expand all Collapse all v0 v0.1.0 Feb 3, 2022 Changes in this version + const BLEND_OP_OVER + const BLEND_OP_SOURCE + const DISPOSE_OP_BACKGROUND + const DISPOSE_OP_NONE + const DISPOSE_OP_PREVIOUS + func Decode(r io.Reader) (image.Image, error) + func DecodeConfig(r io.Reader) (image.Config, error) + func Encode(w io.Writer, a APNG) error + type APNG struct + Frames []Frame + LoopCount uint + func DecodeAll(r io.Reader) (APNG, error) + type CompressionLevel int + const BestCompression + const BestSpeed + const DefaultCompression + const NoCompression + type Encoder struct + BufferPool EncoderBufferPool + CompressionLevel CompressionLevel + func (enc *Encoder) Encode(w io.Writer, a APNG) error + type EncoderBuffer encoder + type EncoderBufferPool interface + Get func() *EncoderBuffer + Put func(*EncoderBuffer) + type FormatError string + func (e FormatError) Error() string + type Frame struct + BlendOp byte + DelayDenominator uint16 + DelayNumerator uint16 + DisposeOp byte + Image image.Image + IsDefault bool + XOffset int + YOffset int + func (f *Frame) GetDelay() float64 + type UnsupportedError string + func (e UnsupportedError) Error() string