go/src/image/color/ycbcr.go

// RGBToYCbCr converts an RGB triple to a Y'CbCr triple.
func RGBToYCbCr(r, g, b uint8) (uint8, uint8, uint8) {}

// YCbCrToRGB converts a Y'CbCr triple to an RGB triple.
func YCbCrToRGB(y, cb, cr uint8) (uint8, uint8, uint8) {}

type YCbCr

func (c YCbCr) RGBA() (uint32, uint32, uint32, uint32) {}

var YCbCrModel

func yCbCrModel(c Color) Color {}

type NYCbCrA

func (c NYCbCrA) RGBA() (uint32, uint32, uint32, uint32) {}

var NYCbCrAModel

func nYCbCrAModel(c Color) Color {}

// RGBToCMYK converts an RGB triple to a CMYK quadruple.
func RGBToCMYK(r, g, b uint8) (uint8, uint8, uint8, uint8) {}

// CMYKToRGB converts a [CMYK] quadruple to an RGB triple.
func CMYKToRGB(c, m, y, k uint8) (uint8, uint8, uint8) {}

type CMYK

func (c CMYK) RGBA() (uint32, uint32, uint32, uint32) {}

var CMYKModel

func cmykModel(c Color) Color {}