next up previous contents index
Next: Final Expansion to Up: 3.6.3 Rasterization of Pixel Previous: Conversion to floating-point

Conversion to RGB

This step is applied only if the format is LUMINANCE or LUMINANCE_ALPHA. If the format is LUMINANCE, then each group of one element is converted to a group of R, G, and B (three) elements by copying the original single element into each of the three new elements. If the format is LUMINANCE_ALPHA, then each group of two elements is converted to a group of R, G, B, and A (four) elements by copying the first original element into each of the first three new elements and copying the second original element to the A (fourth) new element.



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