v0.3.0
Pre-release
Pre-release
Respects sRGB and linear RGB color space defaults
Internally, all our operations typically rely on the linear RGB colorspace. However, images are stored using sRGB color space (if not explicitly stated differently). From v0.3.0
on onwards, images are loaded using the SRGB
type which encodes sRGB color. Conversion is possible through SRGB.toRGB
and RGB.toSRGB
.
Expect images which are loaded from disk or displayed to behave slightly different.