摘要 |
PURPOSE: A system and a method for employing non-alpha channel image data in an alpha-channel-aware environment are provided to allow a non-alpha-channel-aware application to write pixel data to a pixel data file. CONSTITUTION: Each pixel in a pixel data file is initialized to have an alpha value of 1(510). After a non-alpha-channel-aware process has completed writing to the pixel data file, one pass is made over the image, decrementing the alpha value of each pixel by 1. The pass results in the pixels written by the non-alpha-channel-aware process, which had been set by the process to an alpha value of zero having a new alpha value of 255(530). Each pixel not written to by the non-alpha-channel-aware application is rendered transparent because of its alpha value of zero, the result of each such pixel's alpha value being initialized to 1 and then decremented by 1(540).
|