FDO API Reference Feature Data Objects

RasterDataModelType.h File Reference

#include <FdoStd.h>

Include dependency graph for RasterDataModelType.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


Enumerations

enum  FdoRasterDataModelType {
  FdoRasterDataModelType_Unknown, FdoRasterDataModelType_Data, FdoRasterDataModelType_Bitonal, FdoRasterDataModelType_Gray,
  FdoRasterDataModelType_RGB, FdoRasterDataModelType_RGBA, FdoRasterDataModelType_Palette
}
 The FdoRasterDataModelType enumeration specifies the type of data within each pixel. In all cases the data is 'packed', that is, adjacent pixels are contiguous in memory with no unused bits between them, except at the end of a row, where the row is padded to a byte boundary. For example, four bit grayscale data (BitsPerPixel=4) would be packed two pixels to a byte, and a row would be padded with four bits if the image width was odd. Tri-colour or four channel data is also organized adjacently in memory, with no intervening padding except at the ends of rows. For example, eight bit RGB (BitsPerPixel=24) occupies three bytes per pixel, and would never need padding at the end of a row. Multiband data (i.e. RGB) has the same number of bits allocated to each band, so for example RGBT data with eight bits for red, would also have eight bits for each of the three other bands totaling thirty-two bits (BitsPerPixel=32).
Parameters:
FdoRasterDataModelType_Unknown Data is organized in an unknown or provider specific manner.
FdoRasterDataModelType_Bitonal Data is organized as one bit (black/white - bitonal) data.
FdoRasterDataModelType_Gray Data is monochrome (black->gray->white) pixels. It is necessary to know the BitsPerPixel value to interpret the data.
FdoRasterDataModelType_RGB Data is red/green/blue (in that order) pixels. It is necessary to know the BitsPerPixel value to interpret the data.
FdoRasterDataModelType_RGBA Data is red/green/blue/alpha (in that order) pixels; RGB with transparency. It is necessary to know the BitsPerPixel value to interpret the data.
FdoRasterDataModelType_Palette Data is monochrome but backed by a pallette (value->pallette->colour) pixels. It is necessary to know the BitsPerPixel value to interpret the data.
. More...

Comments or suggestions? Send us feedback.