Unit XYZABitmap

📄 Source code

Description

Supplies a bitmap in XYZ colorspace with floating-point values (16-bit per channel) and transparency.

Pixels are in TXYZA format, based on CIE 1931 XYZ colorspace (TXYZAColorspace).

This format is generally used as an intermediary format.

Bitmap units: BGRABitmap, ExpandedBitmap, BGRAGrayscaleMask, LinearRGBABitmap, WordXYZABitmap, XYZABitmap.

Uses

Overview

Structures

Name Description
Class TXYZABitmap Bitmap with TXYZA pixel format, CIE 1931 XYZ with floating point values.

Functions and Procedures

operator = (const c1, c2: TXYZA): boolean; inline;
function IsRealColor(xyza: TXYZA): boolean;

Constants

XYZATransparent : TXYZA = (X:0; Y:0; Z:0; alpha:0);

Description

Functions and Procedures

operator = (const c1, c2: TXYZA): boolean; inline;

This item has no description.

function IsRealColor(xyza: TXYZA): boolean;

Checks that the color is real, meaning that it can be experienced. To be real a color need to have positive values and be a possible stimulation of the cones. The latter are not independant so for example the green cones cannot be stimulated alone.

Constants

XYZATransparent : TXYZA = (X:0; Y:0; Z:0; alpha:0);

This item has no description.