NTColorFormat

enum NTColorFormat : NSInteger {}

Possible image formats.

  • Options for identifiny unsupported image formats.

    Declaration

    Objective-C

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

    Declaration

    Objective-C

    NT_COLOR_FORMAT_GRAYSCALE = 0x1909
  • An image format that describes images with two channels, one for color and the other for alpha.

    Declaration

    Objective-C

    NT_COLOR_FORMAT_GRAYSCALE_ALPHA = 0x190A
  • An image format that describes images with three channels, one for each color: red, green and blue.

    Declaration

    Objective-C

    NT_COLOR_FORMAT_RGB = 0x1907
  • An image format that describes images with four channels, one for each color: red, green and blue and one for alpha.

    Declaration

    Objective-C

    NT_COLOR_FORMAT_RGBA = 0x1908
  • 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

    NT_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

    NT_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

    NT_COLOR_FORMAT_RGB_565 = 3