Documentation ¶
Overview ¶
Package colorspace implements color space conversion wrappers compatible with image.Image.
It is a proof of concept for https://github.com/golang/go/issues/11420.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SRGBA ¶
type SRGBA struct {
image.RGBA64Image
}
SRGBA wraps an Image encoded in the sRGB color space.
func NewSRGBA ¶
NewSRGBA returns an SRGBA that wraps img. It panics if ima doesn't implement image.RGBA64Image.
Click to show internal directories.
Click to hide internal directories.