Versions in this module Expand all Collapse all go1 go1.18.10 Jan 10, 2023 Changes in this version + func Decode(r io.Reader) (image.Image, error) + func DecodeConfig(r io.Reader) (image.Config, error) + func Encode(w io.Writer, m image.Image) 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, m image.Image) error + type EncoderBuffer encoder + type EncoderBufferPool interface + Get func() *EncoderBuffer + Put func(*EncoderBuffer) + type FormatError string + func (e FormatError) Error() string + type UnsupportedError string + func (e UnsupportedError) Error() string