package
0.0.0-20211205205814-168ccc21e67c
Repository: https://github.com/ziutek/emgo.git
Documentation: pkg.go.dev
# Functions
CMYKToRGB converts a CMYK quadruple to an RGB triple.
ModelFunc returns a Model that invokes f to implement the conversion.
RGBToCMYK converts an RGB triple to a CMYK quadruple.
RGBToYCbCr converts an RGB triple to a Y'CbCr triple.
YCbCrToRGB converts a Y'CbCr triple to an RGB triple.
# Variables
Models for the standard color types.
Models for the standard color types.
Standard colors.
CMYKModel is the Model for CMYK colors.
Models for the standard color types.
Models for the standard color types.
Models for the standard color types.
Models for the standard color types.
NYCbCrAModel is the Model for non-alpha-premultiplied Y'CbCr-with-alpha colors.
Standard colors.
Models for the standard color types.
Models for the standard color types.
Standard colors.
Standard colors.
YCbCrModel is the Model for Y'CbCr colors.
# Structs
Alpha represents an 8-bit alpha color.
Alpha16 represents a 16-bit alpha color.
CMYK represents a fully opaque CMYK color, having 8 bits for each of cyan, magenta, yellow and black.
Gray represents an 8-bit grayscale color.
Gray16 represents a 16-bit grayscale color.
NRGBA represents a non-alpha-premultiplied 32-bit color.
NRGBA64 represents a non-alpha-premultiplied 64-bit color, having 16 bits for each of red, green, blue and alpha.
NYCbCrA represents a non-alpha-premultiplied Y'CbCr-with-alpha color, having 8 bits each for one luma, two chroma and one alpha component.
RGBA represents a traditional 32-bit alpha-premultiplied color, having 8 bits for each of red, green, blue and alpha.
RGBA64 represents a 64-bit alpha-premultiplied color, having 16 bits for each of red, green, blue and alpha.
YCbCr represents a fully opaque 24-bit Y'CbCr color, having 8 bits each for one luma and two chroma components.
# Type aliases
Palette is a palette of colors.