Versions in this module Expand all Collapse all v1 v1.0.1 Nov 25, 2022 v1.0.0 Nov 25, 2022 Changes in this version + var CMYKAModel color.Model = color.ModelFunc(cmykModel) + 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 CMYKA struct + A uint8 + C uint8 + K uint8 + M uint8 + Y uint8 + func (c CMYKA) RGBA() (uint32, uint32, uint32, uint32) + type CMYKAImg struct + Pix []uint8 + Rect image.Rectangle + Stride int + func NewCMYKA(r image.Rectangle) *CMYKAImg + func (p *CMYKAImg) At(x, y int) color.Color + func (p *CMYKAImg) Bounds() image.Rectangle + func (p *CMYKAImg) CMYKAt(x, y int) CMYKA + func (p *CMYKAImg) ColorModel() color.Model + func (p *CMYKAImg) Opaque() bool + func (p *CMYKAImg) PixOffset(x, y int) int + func (p *CMYKAImg) RGBA64At(x, y int) color.RGBA64 + func (p *CMYKAImg) Set(x, y int, c color.Color) + func (p *CMYKAImg) SetCMYKA(x, y int, c CMYKA) + func (p *CMYKAImg) SubImage(r image.Rectangle) image.Image + 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