All Manuals > CAPI User Guide and Reference Manual > 24 COLOR Reference Entries

unconvert-color Function

Summary

Returns a color specification for a color representation.

Package

color

Signature

unconvert-color port color-rep => color

Arguments
port
A graphics port.
color-rep
A color representation on port.
Values
color
A color specification.
Description

The function unconvert-color returns a color specification corresponding to the color representation color-rep on the Graphics Port port.

If color-rep is a color specification, a symbol or a color alias, then it is simply returned since the color system can interpret these directly.

Otherwise color-rep is assumed to be a color representation on port, like those returned by convert-color and image-access-pixel, and a corresponding RGB value is returned.

See also

convert-color
image-access-pixel
13.10.8 Image access


CAPI User Guide and Reference Manual (Unix version) - 01 Dec 2021 19:33:10