Table of Contents

Enum RGBLuminanceSource.BitmapFormat

Namespace
ZXing
Assembly
zxing.dll

enumeration of supported bitmap format which the RGBLuminanceSource can process

public enum RGBLuminanceSource.BitmapFormat

Fields

ARGB32 = 5

4 bytes per pixel with the channels alpha, red, green and blue

BGR24 = 6

3 bytes per pixel with the channels blue, green and red

BGR32 = 7

4 bytes per pixel with the channels blue, green and red

BGRA32 = 8

4 bytes per pixel with the channels blue, green, red and alpha

Gray16 = 2

grayscale array, the byte array is a luminance array with 2 bytes per pixel

Gray8 = 1

grayscale array, the byte array is a luminance array with 1 byte per pixel

RGB24 = 3

3 bytes per pixel with the channels red, green and blue

RGB32 = 4

4 bytes per pixel with the channels red, green and blue

RGB565 = 9

2 bytes per pixel, 5 bit red, 6 bits green and 5 bits blue

RGBA32 = 10

4 bytes per pixel with the channels red, green, blue and alpha

UYVY = 11

4 bytes for two pixels, UYVY formatted

Unknown = 0

format of the byte[] isn't known. RGBLuminanceSource tries to determine the best possible value

YUYV = 12

4 bytes for two pixels, YUYV formatted