next up previous contents index
Next: Final Conversion Up: 4.3.2 Reading Pixels Previous: Pixel Transfer Operations

Conversion to L

This step applies only to RGBA component groups, and only if the format is either LUMINANCE or LUMINANCE_ALPHA. A value L is computed as

where R, G, and B are the values of the R, G, and B components. The single computed L component replaces the R, G, and B components in the group.



David Blythe
Sat Mar 29 02:23:21 PST 1997