This topic provides detailed information about the supported luminosity pixel formats. These formats are used to represent grayscale images.
This format has 1 bit per pixel. It is implicit in the code that pixel addresses within a byte increase from low bit to high bit. A little-endian architecture is also implicit, because conversions are made from pointers to byte and from pointers to (unsigned) int and there is an implication that pixel addresses within a 32-bit word also increase from low to high-order bit.
The equivalent UID value is {0x102858EF}.
This format has 2 bits per pixel. It is implicit in the code that pixel addresses within a byte increase from low bit to high bit. A little-endian architecture is also implicit, because conversions are made from pointers to byte and from pointers to (unsigned) int and there is an implication that pixel addresses within a 32-bit word also increase from low to high-order bit.
The equivalent UID value is {0x102858EE}.
This format has 4 bit per pixel. It is implicit in the code that pixel addresses within a byte increase from low bit to high bit. A little-endian architecture is also implicit, because conversions are made from pointers to byte and from pointers to (unsigned) int and there is an implication that pixel addresses within a 32-bit word also increase from low to high-order bit.
The equivalent UID value is {0x102858ED}.
This format has 8 bit per pixel. A little-endian architecture is implicit in the code, because conversions are made from pointers to byte and pointers to (unsigned) integer and there is an implication that the lower-order byte of an unsigned integer has the physically lower address.
8-bit per pixel color bitmaps use indexed look up tables and monochrome bitmaps represent the 256 levels of gray directly.
The equivalent UID value is {0x102858EC}.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.