Unsupported

class Unsupported(val name: String, val componentCount: Int) : ColorSpace

Fallback for spaces we don't fully model. Routes to grey.

Constructors

Link copied to clipboard
constructor(name: String, componentCount: Int)

Properties

Link copied to clipboard
open override val componentCount: Int

Number of input components (1 for Gray, 3 for RGB/Lab, 4 for CMYK).

Link copied to clipboard

Functions

Link copied to clipboard

Default fill colour at "the colour space is set to me" — black-equivalent.

Link copied to clipboard
open override fun toRgb(components: DoubleArray): RgbColor

Convert a sample (one float per component, all in 0,1) to RGB.