CodeGlyphX logo
CodeGlyphX

API Reference

Enum

PixelFormat

Namespace CodeGlyphX
Assembly CodeGlyphX
Base Enum
Implements
IComparable ISpanFormattable IFormattable IConvertible
Modifiers sealed

Supported raw pixel formats for symbol scanning.

Inheritance

  • Enum
  • PixelFormat

Remarks

SymbolScanner accepts every value. Older direct decoder entry points continue to accept only Bgra32 and Rgba32 unless their documentation states otherwise.

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters

Values

public const PixelFormat Bgra32 #

4 bytes per pixel: B, G, R, A.

Value: 0
public const PixelFormat Rgba32 #

4 bytes per pixel: R, G, B, A.

Value: 1
public const PixelFormat Gray8 #

1 byte per pixel: grayscale intensity.

Value: 2
public const PixelFormat Gray16LittleEndian #

2 bytes per pixel: little-endian 16-bit grayscale intensity.

Value: 3
public const PixelFormat Rgb24 #

3 bytes per pixel: R, G, B.

Value: 4
public const PixelFormat Bgr24 #

3 bytes per pixel: B, G, R.

Value: 5
public const PixelFormat Argb32 #

4 bytes per pixel: A, R, G, B.

Value: 6
public const PixelFormat Abgr32 #

4 bytes per pixel: A, B, G, R.

Value: 7
public const PixelFormat Rgb565LittleEndian #

2 bytes per pixel: little-endian RGB 5:6:5.

Value: 8