formZ SDK | 5.0 API Reference | Project | File Formats | Structured File Translator | Image Bitmap

# fz_ffmt_image_channel_enum

Description

Image channels. The image channels to read from the image file. This only applies to a image type of FZ_FFMT_IMAGE_TYPE_TRUE_COLOR.

enum fz_ffmt_image_channel_enum {

FZ_FFMT_IMAGE_CHANNEL_RGB,

FZ_FFMT_IMAGE_CHANNEL_ALPHA,

FZ_FFMT_IMAGE_CHANNEL_RGBA,

FZ_FFMT_IMAGE_CHANNEL_RGB_ALPHA_APLIED };

Members

FZ_FFMT_IMAGE_CHANNEL_RGB

The channels to read are Red, Blue, Green

FZ_FFMT_IMAGE_CHANNEL_ALPHA

Read the alpha channel only

FZ_FFMT_IMAGE_CHANNEL_RGBA

Read the Red, Green, Blue and Alpha channels

FZ_FFMT_IMAGE_CHANNEL_RGB_ALPHA_APLIED

Read the Red, Green, Blue channels then apply the Alpha channel to the pixel data

Availability

5.0.0.0

See Also

fz_ffmt_cbak_image_bmap_read

Defined in

fz_ffmt_api.h