API Reference
QrPixelDecodeOptions
Options for pixel-based QR decoding.
Inheritance
- Object
- QrPixelDecodeOptions
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Property CodeGlyphDecodeOptions.Qr
- Method QrPixelDecodeOptions.Balanced
- Method QrPixelDecodeOptions.Fast
- Method QrPixelDecodeOptions.Robust
- Method QrPixelDecodeOptions.Screen
- Method QrPixelDecodeOptions.Stylized
- Method QrPixelDecodeOptions.WithAggressiveSampling
- Method QrPixelDecodeOptions.WithAutoCrop
- Method QrPixelDecodeOptions.WithBudget
- Method QrPixelDecodeOptions.WithBudgetMilliseconds
- Method QrPixelDecodeOptions.WithMaxDimension
- Method QrPixelDecodeOptions.WithMaxMilliseconds
- Method QrPixelDecodeOptions.WithMaxScale
- Method QrPixelDecodeOptions.WithoutTransforms
- Method QrPixelDecodeOptions.WithProfile
- Method QrPixelDecodeOptions.WithStylizedSampling
- Method QrPixelDecodeOptions.WithTileScan
Accepted by parameters
- Method CodeGlyph.DecodeImageAsync
- Method CodeGlyph.DecodePngAsync
- Method CodeGlyph.TryDecode
- Method CodeGlyph.TryDecode
- Method CodeGlyph.TryDecode
- Method CodeGlyph.TryDecode
- Method CodeGlyph.TryDecodeAll
- Method CodeGlyph.TryDecodeAll
- Method CodeGlyph.TryDecodeAll
- Method CodeGlyph.TryDecodeAll
- Method CodeGlyph.TryDecodeAllImage
- Method CodeGlyph.TryDecodeAllImage
- Method CodeGlyph.TryDecodeAllImageAsync
- Method CodeGlyph.TryDecodeAllImageFileAsync
- Method CodeGlyph.TryDecodeAllPng
- Method CodeGlyph.TryDecodeAllPng
- Method CodeGlyph.TryDecodeAllPngAsync
- Method CodeGlyph.TryDecodeAllPngFile
- Method CodeGlyph.TryDecodeAllPngFileAsync
- Method CodeGlyph.TryDecodeImage
- Method CodeGlyph.TryDecodeImage
- Method CodeGlyph.TryDecodeImageAsync
- Method CodeGlyph.TryDecodeImageFileAsync
- Method CodeGlyph.TryDecodePng
- Method CodeGlyph.TryDecodePng
- Method CodeGlyph.TryDecodePngAsync
- Method CodeGlyph.TryDecodePngFile
- Method CodeGlyph.TryDecodePngFileAsync
- Method CodeGlyphDecodeOptions.WithQr
- Method QR.TryDecodeAllImage
- Method QR.TryDecodeAllImage
- Method QR.TryDecodeAllImage
- Method QR.TryDecodeAllImage
- Method QR.TryDecodeAllImage
- Method QR.TryDecodeAllImage
- Method QR.TryDecodeAllImage
- Method QR.TryDecodeAllImage
- Method QR.TryDecodeAllPng
- Method QR.TryDecodeAllPng
- Method QR.TryDecodeAllPng
- Method QR.TryDecodeAllPng
- Method QR.TryDecodeAllPng
- Method QR.TryDecodeAllPng
- Method QR.TryDecodeAllPng
- Method QR.TryDecodeAllPng
- Method QR.TryDecodeAllPng
- Method QR.TryDecodeAllPng
- Method QR.TryDecodeAllPng
- Method QR.TryDecodeAllPng
- Method QR.TryDecodeAllPng
- Method QR.TryDecodeAllPngFile
- Method QR.TryDecodeAllPngFile
- Method QR.TryDecodeAllPngFile
- Method QR.TryDecodeAllPngFile
- Method QR.TryDecodeAllPngFile
- Method QR.TryDecodeAllPngFile
- Method QR.TryDecodeAllPngFile
- Method QR.TryDecodeImage
- Method QR.TryDecodeImage
- Method QR.TryDecodeImage
- Method QR.TryDecodeImage
- Method QR.TryDecodeImage
- Method QR.TryDecodeImage
- Method QR.TryDecodeImage
- Method QR.TryDecodeImage
- Method QR.TryDecodeImage
- Method QR.TryDecodeImage
- Method QR.TryDecodeImage
- Method QR.TryDecodeImage
- Method QR.TryDecodePng
- Method QR.TryDecodePng
- Method QR.TryDecodePng
- Method QR.TryDecodePng
- Method QR.TryDecodePng
- Method QR.TryDecodePng
- Method QR.TryDecodePng
- Method QR.TryDecodePng
- Method QR.TryDecodePng
- Method QR.TryDecodePng
- Method QR.TryDecodePng
- Method QR.TryDecodePngFile
- Method QR.TryDecodePngFile
- Method QR.TryDecodePngFile
- Method QR.TryDecodePngFile
- Method QR.TryDecodePngFile
- Method QrDecoder.TryDecode
- Method QrDecoder.TryDecode
- Method QrDecoder.TryDecode
- Method QrDecoder.TryDecode
- Method QrDecoder.TryDecode
- Method QrDecoder.TryDecode
- Method QrDecoder.TryDecode
- Method QrDecoder.TryDecode
- Method QrDecoder.TryDecodeAll
- Method QrDecoder.TryDecodeAll
- Method QrDecoder.TryDecodeAll
- Method QrDecoder.TryDecodeAll
- Method QrDecoder.TryDecodeAll
- Method QrDecoder.TryDecodeAll
- Method QrDecoder.TryDecodeAll
- Method QrDecoder.TryDecodeAll
- Method QrImageDecoder.DecodeImageBatch
- Method QrImageDecoder.DecodeImageResult
- Method QrImageDecoder.DecodeImageResult
- Method QrImageDecoder.DecodeImageResult
- Method QrImageDecoder.TryDecode
- Method QrImageDecoder.TryDecode
- Method QrImageDecoder.TryDecode
- Method QrImageDecoder.TryDecodeAll
- Method QrImageDecoder.TryDecodeAll
- Method QrImageDecoder.TryDecodeAll
- Method QrImageDecoder.TryDecodeAllImage
- Method QrImageDecoder.TryDecodeAllImage
- Method QrImageDecoder.TryDecodeAllImage
- Method QrImageDecoder.TryDecodeAllImage
- Method QrImageDecoder.TryDecodeAllImage
- Method QrImageDecoder.TryDecodeAllImage
- Method QrImageDecoder.TryDecodeImage
- Method QrImageDecoder.TryDecodeImage
- Method QrImageDecoder.TryDecodeImage
- Method QrImageDecoder.TryDecodeImage
- Method QrImageDecoder.TryDecodeImage
- Method QrImageDecoder.TryDecodeImage
- Method QrImageDecoder.TryDecodeImage
- Method QrImageDecoder.TryDecodeImage
- Method QrImageDecoder.TryDecodeImage
- Method QrImageDecoder.TryDecodeImage
- Method QrImageDecoder.TryDecodeImage
- Method QrImageDecoder.TryDecodeImage
- Method QrImageDecoder.TryDecodeImage
- Method QrImageDecoder.TryDecodeImage
- Method QrImageDecoder.TryDecodeImage
- Method QrImageDecoder.TryDecodeImage
- Method QrImageDecoder.TryDecodeImage
- Method QrImageDecoder.TryDecodeImage
- Method QrImageDecoder.TryDecodeImage
- Method QrImageDecoder.TryDecodeImage
- Method QrImageDecoder.TryDecodeImage
- Method QrImageDecoder.TryDecodeImage
Constructors
public QrPixelDecodeOptions() #Methods
public static QrPixelDecodeOptions Balanced() #QrPixelDecodeOptionsBalanced preset (good default for most images).
public static QrPixelDecodeOptions Fast() #QrPixelDecodeOptionsFast preset (lower accuracy, fewer transforms).
public static QrPixelDecodeOptions Robust() #QrPixelDecodeOptionsRobust preset (best accuracy, slower).
public static QrPixelDecodeOptions Screen(Int32 maxMilliseconds = 300, Int32 maxDimension = 1200) #QrPixelDecodeOptionsScreen preset (budgeted decode for UI capture scenarios).
Parameters
- maxMilliseconds System.Int32 = 300
- maxDimension System.Int32 = 1200
public static QrPixelDecodeOptions Stylized() #QrPixelDecodeOptionsStylized preset (adds aggressive sampling for QR art).
public QrPixelDecodeOptions WithAggressiveSampling(Boolean enabled = true) #QrPixelDecodeOptionsEnables or disables aggressive sampling.
Parameters
- enabled System.Boolean = true
public QrPixelDecodeOptions WithAutoCrop(Boolean enabled = true) #QrPixelDecodeOptionsEnables or disables auto-crop for QR decoding.
Parameters
- enabled System.Boolean = true
public QrPixelDecodeOptions WithBudget(Int32 maxMilliseconds, Int32 maxDimension = 0) #QrPixelDecodeOptionsSets the time+dimension budget in one call.
Parameters
- maxMilliseconds System.Int32
- maxDimension System.Int32 = 0
public QrPixelDecodeOptions WithBudgetMilliseconds(Int32 maxMilliseconds) #QrPixelDecodeOptionsSets a hard decode time budget without profile downgrades.
Parameters
- maxMilliseconds System.Int32
public QrPixelDecodeOptions WithMaxDimension(Int32 maxDimension) #QrPixelDecodeOptionsSets maximum dimension (pixels) for QR decoding.
Parameters
- maxDimension System.Int32
public QrPixelDecodeOptions WithMaxMilliseconds(Int32 maxMilliseconds) #QrPixelDecodeOptionsSets the maximum decode time budget.
Parameters
- maxMilliseconds System.Int32
public QrPixelDecodeOptions WithMaxScale(Int32 maxScale) #QrPixelDecodeOptionsSets maximum scale to try (1..8).
Parameters
- maxScale System.Int32
public QrPixelDecodeOptions WithoutTransforms() #QrPixelDecodeOptionsDisables rotation/mirroring attempts.
public QrPixelDecodeOptions WithProfile(QrDecodeProfile profile) #QrPixelDecodeOptionsSets the profile (fast/balanced/robust).
Parameters
- profile CodeGlyphX.QrDecodeProfile
public QrPixelDecodeOptions WithStylizedSampling(Boolean enabled = true) #QrPixelDecodeOptionsEnables or disables stylized sampling for QR art.
Parameters
- enabled System.Boolean = true
public QrPixelDecodeOptions WithTileScan(Boolean enabled = true, Int32 tileGrid = 0) #QrPixelDecodeOptionsEnables tile-based scanning for multiple QR codes.
Parameters
- enabled System.Boolean = true
- tileGrid System.Int32 = 0
Inherited Methods
Properties
public QrDecodeProfile Profile { get; set; } #Speed/accuracy profile (default: Robust).
public Int32 MaxDimension { get; set; } #Maximum dimension (pixels) for decoding. Larger inputs will be downscaled by sampling. Set to 0 to disable.
public Int32 MaxScale { get; set; } #Maximum scale to try when decoding (1..8). Set to 0 to use profile defaults.
public Int32 MaxMilliseconds { get; set; } #Maximum milliseconds to spend decoding (best effort). Set to 0 to disable.
public Int32 BudgetMilliseconds { get; set; } #Hard budget in milliseconds for decoding (best effort), without profile downgrades. When set, this is used for internal time budgeting instead of MaxMilliseconds.
public Boolean AutoCrop { get; set; } #Attempts to auto-crop likely QR regions before decoding (useful for screenshots).
public Boolean EnableTileScan { get; set; } #Enables tile-based scanning for multiple QR codes in one image.
public Int32 TileGrid { get; set; } #Tile grid size for multi-scan (0 = auto, 2..4 recommended).
public Boolean DisableTransforms { get; set; } #Disable rotation/mirroring attempts even in robust profiles.
public Boolean AggressiveSampling { get; set; } #Enables extra thresholding/sampling passes for stylized or noisy QR codes (slower).
public Boolean StylizedSampling { get; set; } #Enables stylized sampling tuned for QR art (opt-in, slower).