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 = 0Swift
case COLOR_FORMAT_UNSUPPORTED = 0 -
An image format that describes images with a single color channel.
Declaration
Objective-C
MSF_COLOR_FORMAT_GRAYSCALE = 0x1909Swift
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 = 0x190ASwift
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 = 0x1907Swift
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 = 0x1908Swift
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 = 1Swift
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 = 2Swift
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 = 3Swift
case COLOR_FORMAT_RGB_565 = 3