Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RGB8ToImage ¶
RGB8ToImage converts RGB8 data with a color palette to an image.Image. It takes the width and height of the image, an RGB8 data slice, and a color palette. The function returns an image.Image created from the RGB8 data with the provided palette. The input RGB8 data is assumed to be in the sRGB color space.
Types ¶
type JPEGEncoder ¶
type JPEGEncoder struct{}
func NewJPEGEncoder ¶
func NewJPEGEncoder() *JPEGEncoder
type WebPEncoder ¶
type WebPEncoder struct{}
func NewWebPEncoder ¶
func NewWebPEncoder() *WebPEncoder
Click to show internal directories.
Click to hide internal directories.