MBBitmapPixelType Constants Reference

Declared in MBBitmapPixelPlane.h

MBBitmapPixelType

Indicates how an MBBitmapPixelPlane represents the color and alpha channels within the pixel data.

These values govern how pixel channel data within the MBBitmapPixel struct should be interpreted.

Definition

typedef NS_ENUM(NSUInteger, MBBitmapPixelType ) {
   MBBitmapPixelTypeUnknown,
   MBBitmapPixelTypeIncompatible,
   MBBitmapPixelTypeAlpha,
   MBBitmapPixelTypeMonochrome,
   MBBitmapPixelTypeRGB,
};

Constants

MBBitmapPixelTypeUnknown

The pixel type of the underlying bitmap is not known. MBBitmapPixel data is undefined and should not be relied upon.

Declared In MBBitmapPixelPlane.h.

MBBitmapPixelTypeIncompatible

The pixel type of the underlying bitmap is not compatible with the MBBitmapPixelPlane class. MBBitmapPixel data is undefined and should not be relied upon.

Declared In MBBitmapPixelPlane.h.

MBBitmapPixelTypeAlpha

The bitmap uses the alpha channel (channel4) component of the MBBitmapPixel and no others.

Declared In MBBitmapPixelPlane.h.

MBBitmapPixelTypeMonochrome

The bitmap uses the white channel (channel1) and potentially the alpha channel (channel4) of the MBBitmapPixel.

Declared In MBBitmapPixelPlane.h.

MBBitmapPixelTypeRGB

The bitmap uses the red (channel1), green (channel2) and blue (channel3) channels and potentially the alpha channel (channel4) of the MBBitmapPixel.

Declared In MBBitmapPixelPlane.h.

Declared In

MBBitmapPixelPlane.h