MSFColorFormat

Objective-C

enum MSFColorFormat : NSInteger {}

Swift

enum MSFColorFormat : Int, @unchecked Sendable

Possible image formats.

  • Options for identifiny unsupported image formats.

    Declaration

    Objective-C

    MSF_COLOR_FORMAT_UNSUPPORTED = 0

    Swift

    case COLOR_FORMAT_UNSUPPORTED = 0
  • An image format that describes images with a single color channel.

    Declaration

    Objective-C

    MSF_COLOR_FORMAT_GRAYSCALE = 0x1909

    Swift

    case COLOR_FORMAT_GRAYSCALE = 6409
  • An image format that describes images with two channels, one for color and the other for alpha.

    Declaration

    Objective-C

    MSF_COLOR_FORMAT_GRAYSCALE_ALPHA = 0x190A

    Swift

    case COLOR_FORMAT_GRAYSCALE_ALPHA = 6410
  • An image format that describes images with three channels, one for each color: red, green and blue.

    Declaration

    Objective-C

    MSF_COLOR_FORMAT_RGB = 0x1907

    Swift

    case COLOR_FORMAT_RGB = 6407
  • An image format that describes images with four channels, one for each color: red, green and blue and one for alpha.

    Declaration

    Objective-C

    MSF_COLOR_FORMAT_RGBA = 0x1908

    Swift

    case COLOR_FORMAT_RGBA = 6408
  • An image format that describes images with four channels, one for each color: blue, green and red and one for alpha. This color format will be converted to RGBA.

    Declaration

    Objective-C

    MSF_COLOR_FORMAT_BGRA = 1

    Swift

    case COLOR_FORMAT_BGRA = 1
  • An image format that describes images with four channels, one for each color: red, green, and blue and one for alpha. Each color is only four bits. This color format will be converted to RGBA.

    Declaration

    Objective-C

    MSF_COLOR_FORMAT_RGBA_4444 = 2

    Swift

    case COLOR_FORMAT_RGBA_4444 = 2
  • An image format that describes images with three channels, one for each color: red, green, and blue. Red and blue colors are each packed into 5 bits, green into 6 bits. This color format will be converted to RGB.

    Declaration

    Objective-C

    MSF_COLOR_FORMAT_RGB_565 = 3

    Swift

    case COLOR_FORMAT_RGB_565 = 3