Versions in this module Expand all Collapse all v0 v0.1.1 Apr 14, 2026 Changes in this version + var BT601NYCbCrAColorModel = color.ModelFunc(bt601NYCbCrAModel) + var BT601YCbCrColorModel = color.ModelFunc(bt601YCbCrModel) + type BT601NYCbCrA struct + func (b *BT601NYCbCrA) At(x, y int) color.Color + func (b *BT601NYCbCrA) BT601NYCbCrAAt(x, y int) BT601NYCbCrAColor + func (b *BT601NYCbCrA) ColorModel() color.Model + type BT601NYCbCrAColor struct + A uint8 + func (c BT601NYCbCrAColor) RGBA() (r, g, b, a uint32) + type BT601YCbCr struct + func (b *BT601YCbCr) At(x, y int) color.Color + func (b *BT601YCbCr) BT601YCbCrAt(x, y int) BT601YCbCrColor + func (b *BT601YCbCr) ColorModel() color.Model + type BT601YCbCrColor struct + Cb uint8 + Cr uint8 + Y uint8 + func (c BT601YCbCrColor) RGBA() (r, g, b, a uint32) v0.1.0 Apr 14, 2026 Changes in this version + func Decode(r io.Reader) (image.Image, error) + func DecodeConfig(r io.Reader) (image.Config, error) + func DecodeIgnoreAlphaFlag(r io.Reader) (image.Image, error) + func Encode(w io.Writer, img image.Image, o *Options) error + func EncodeAll(w io.Writer, ani *Animation, o *Options) error + type Animation struct + BackgroundColor uint32 + Disposals []uint + Durations []uint + Images []image.Image + LoopCount uint16 + type Options struct + Lossy bool + Method int + Quality float32 + UseExtendedFormat bool