Versions in this module Expand all Collapse all v0 v0.12.1 Sep 11, 2023 Changes in this version + func Decode(r io.Reader) (img image.Image, err error) + func DecodeConfig(r io.Reader) (image.Config, error) + func Encode(w io.Writer, m image.Image, opt *Options) error + type CompressionType int + const CCITTGroup3 + const CCITTGroup4 + const Deflate + const LZW + const Uncompressed + type FormatError string + func (e FormatError) Error() string + type Options struct + Compression CompressionType + Predictor bool + type UnsupportedError string + func (e UnsupportedError) Error() string