Skip to content

RasterColorConverter

Overview

An interface that handles converting between essentially three "color spaces": - client space (e.g. premultiplied sRGB) - accumulation space (e.g. premultiplied linear sRGB) - output space (e.g. sRGB255, so we can write to ImageData)

@author Jonathan Olson <jonathan.olson@colorado.edu>

Type RasterColorConverter

import type { RasterColorConverter } from 'scenerystack/alpenglow';

Source Code

See the source for RasterColorConverter.ts in the alpenglow repository.