API Reference
CodeGlyph
Unified decode helpers (QR + 1D + 2D barcodes).
Inheritance
- Object
- CodeGlyph
Methods
public static CodeGlyphDecoded[] DecodeAllAuto(Byte[] image, CodeGlyphDecodeOptions options = null) #CodeGlyphDecoded[]Decodes all QR codes and (optionally) a 1D barcode from auto-detected image bytes.
Parameters
- image System.Byte[]
- options CodeGlyphX.CodeGlyphDecodeOptions = null
public static CodeGlyphDecoded DecodeAuto(Byte[] image, CodeGlyphDecodeOptions options = null) #CodeGlyphDecodedDecodes a QR or barcode from auto-detected image bytes.
Parameters
- image System.Byte[]
- options CodeGlyphX.CodeGlyphDecodeOptions = null
public static async Task<CodeGlyphDecoded> DecodeImageAsync(Stream stream, Nullable<BarcodeType> expectedBarcode = null, Boolean preferBarcode = false, QrPixelDecodeOptions qrOptions = null, CancellationToken cancellationToken = null, BarcodeDecodeOptions barcodeOptions = null) #Task<CodeGlyphDecoded>Decodes a QR or barcode from an image stream asynchronously.
Parameters
- stream System.IO.Stream
- expectedBarcode System.Nullable{CodeGlyphX.BarcodeType} = null
- preferBarcode System.Boolean = false
- qrOptions CodeGlyphX.QrPixelDecodeOptions = null
- cancellationToken System.Threading.CancellationToken = null
- barcodeOptions CodeGlyphX.BarcodeDecodeOptions = null
public static DecodeBatchResult<CodeGlyphDecoded> DecodeImageBatch(IEnumerable<Byte[]> images, CodeGlyphDecodeOptions options = null) #DecodeBatchResult<CodeGlyphDecoded>Decodes a batch of QR/barcode images using a single options object and returns aggregated diagnostics.
Parameters
- images System.Collections.Generic.IEnumerable{System.Byte[]}
- options CodeGlyphX.CodeGlyphDecodeOptions = null
public static DecodeResult<CodeGlyphDecoded> DecodeImageResult(Stream stream, CodeGlyphDecodeOptions options = null) #DecodeResult<CodeGlyphDecoded>Decodes a QR or barcode from common image formats using a single options object and returns diagnostics.
Parameters
- image System.Byte[]
- options CodeGlyphX.CodeGlyphDecodeOptions = null
DecodeImageResult(System.IO.Stream stream, CodeGlyphX.CodeGlyphDecodeOptions options) #Decodes a QR or barcode from an image stream using a single options object and returns diagnostics.
Parameters
- stream System.IO.Stream
- options CodeGlyphX.CodeGlyphDecodeOptions
public static CodeGlyphDecoded DecodePng(Stream stream, Nullable<BarcodeType> expectedBarcode = null, Boolean preferBarcode = false) #CodeGlyphDecodedDecodes a QR or 1D barcode from PNG bytes.
Parameters
- png System.Byte[]
- expectedBarcode System.Nullable{CodeGlyphX.BarcodeType} = null
- preferBarcode System.Boolean = false
DecodePng(System.IO.Stream stream, System.Nullable{CodeGlyphX.BarcodeType} expectedBarcode, System.Boolean preferBarcode) #Decodes a QR or 1D barcode from a PNG stream.
Parameters
- stream System.IO.Stream
- expectedBarcode System.Nullable{CodeGlyphX.BarcodeType}
- preferBarcode System.Boolean
public static async Task<CodeGlyphDecoded> DecodePngAsync(Stream stream, Nullable<BarcodeType> expectedBarcode = null, Boolean preferBarcode = false, QrPixelDecodeOptions qrOptions = null, CancellationToken cancellationToken = null, BarcodeDecodeOptions barcodeOptions = null) #Task<CodeGlyphDecoded>Decodes a QR or barcode from a PNG stream asynchronously.
Parameters
- stream System.IO.Stream
- expectedBarcode System.Nullable{CodeGlyphX.BarcodeType} = null
- preferBarcode System.Boolean = false
- qrOptions CodeGlyphX.QrPixelDecodeOptions = null
- cancellationToken System.Threading.CancellationToken = null
- barcodeOptions CodeGlyphX.BarcodeDecodeOptions = null
public static CodeGlyphDecoded DecodePngFile(String path, Nullable<BarcodeType> expectedBarcode = null, Boolean preferBarcode = false) #CodeGlyphDecodedDecodes a QR or 1D barcode from a PNG file.
Parameters
- path System.String
- expectedBarcode System.Nullable{CodeGlyphX.BarcodeType} = null
- preferBarcode System.Boolean = false
public static Boolean TryDecode(ReadOnlySpan<Byte> pixels, Int32 width, Int32 height, Int32 stride, PixelFormat format, out CodeGlyphDecoded decoded, Nullable<BarcodeType> expectedBarcode = null, Boolean preferBarcode = false, QrPixelDecodeOptions qrOptions = null, CancellationToken cancellationToken = null, BarcodeDecodeOptions barcodeOptions = null) #BooleanAttempts to decode a QR or barcode from raw pixels.
Parameters
- pixels System.Byte[]
- width System.Int32
- height System.Int32
- stride System.Int32
- format CodeGlyphX.PixelFormat
- decoded CodeGlyphX.CodeGlyphDecoded@
- expectedBarcode System.Nullable{CodeGlyphX.BarcodeType} = null
- preferBarcode System.Boolean = false
- qrOptions CodeGlyphX.QrPixelDecodeOptions = null
- cancellationToken System.Threading.CancellationToken = null
- barcodeOptions CodeGlyphX.BarcodeDecodeOptions = null
public static Boolean TryDecode(ReadOnlySpan<Byte> pixels, Int32 width, Int32 height, Int32 stride, PixelFormat format, out CodeGlyphDecoded decoded, out CodeGlyphDecodeDiagnostics diagnostics, Nullable<BarcodeType> expectedBarcode = null, Boolean preferBarcode = false, QrPixelDecodeOptions qrOptions = null, CancellationToken cancellationToken = null, BarcodeDecodeOptions barcodeOptions = null) #BooleanAttempts to decode a QR or barcode from raw pixels, with diagnostics.
Parameters
- pixels System.Byte[]
- width System.Int32
- height System.Int32
- stride System.Int32
- format CodeGlyphX.PixelFormat
- decoded CodeGlyphX.CodeGlyphDecoded@
- diagnostics CodeGlyphX.CodeGlyphDecodeDiagnostics@
- expectedBarcode System.Nullable{CodeGlyphX.BarcodeType} = null
- preferBarcode System.Boolean = false
- qrOptions CodeGlyphX.QrPixelDecodeOptions = null
- cancellationToken System.Threading.CancellationToken = null
- barcodeOptions CodeGlyphX.BarcodeDecodeOptions = null
TryDecode(System.ReadOnlySpan{System.Byte} pixels, System.Int32 width, System.Int32 height, System.Int32 stride, CodeGlyphX.PixelFormat format, CodeGlyphX.CodeGlyphDecoded@ decoded, System.Nullable{CodeGlyphX.BarcodeType} expectedBarcode, System.Boolean preferBarcode, CodeGlyphX.QrPixelDecodeOptions qrOptions, System.Threading.CancellationToken cancellationToken, CodeGlyphX.BarcodeDecodeOptions barcodeOptions) #Attempts to decode a QR or barcode from raw pixels.
Parameters
- pixels System.ReadOnlySpan{System.Byte}
- width System.Int32
- height System.Int32
- stride System.Int32
- format CodeGlyphX.PixelFormat
- decoded CodeGlyphX.CodeGlyphDecoded@
- expectedBarcode System.Nullable{CodeGlyphX.BarcodeType}
- preferBarcode System.Boolean
- qrOptions CodeGlyphX.QrPixelDecodeOptions
- cancellationToken System.Threading.CancellationToken
- barcodeOptions CodeGlyphX.BarcodeDecodeOptions
TryDecode(System.ReadOnlySpan{System.Byte} pixels, System.Int32 width, System.Int32 height, System.Int32 stride, CodeGlyphX.PixelFormat format, CodeGlyphX.CodeGlyphDecoded@ decoded, CodeGlyphX.CodeGlyphDecodeDiagnostics@ diagnostics, System.Nullable{CodeGlyphX.BarcodeType} expectedBarcode, System.Boolean preferBarcode, CodeGlyphX.QrPixelDecodeOptions qrOptions, System.Threading.CancellationToken cancellationToken, CodeGlyphX.BarcodeDecodeOptions barcodeOptions) #Attempts to decode a QR or barcode from raw pixels, with diagnostics.
Parameters
- pixels System.ReadOnlySpan{System.Byte}
- width System.Int32
- height System.Int32
- stride System.Int32
- format CodeGlyphX.PixelFormat
- decoded CodeGlyphX.CodeGlyphDecoded@
- diagnostics CodeGlyphX.CodeGlyphDecodeDiagnostics@
- expectedBarcode System.Nullable{CodeGlyphX.BarcodeType}
- preferBarcode System.Boolean
- qrOptions CodeGlyphX.QrPixelDecodeOptions
- cancellationToken System.Threading.CancellationToken
- barcodeOptions CodeGlyphX.BarcodeDecodeOptions
public static Boolean TryDecode(ReadOnlySpan<Byte> pixels, Int32 width, Int32 height, Int32 stride, PixelFormat format, out CodeGlyphDecoded decoded, CodeGlyphDecodeOptions options) #BooleanAttempts to decode a QR or barcode from raw pixels using a single options object.
Parameters
- pixels System.Byte[]
- width System.Int32
- height System.Int32
- stride System.Int32
- format CodeGlyphX.PixelFormat
- decoded CodeGlyphX.CodeGlyphDecoded@
- options CodeGlyphX.CodeGlyphDecodeOptions
public static Boolean TryDecode(ReadOnlySpan<Byte> pixels, Int32 width, Int32 height, Int32 stride, PixelFormat format, out CodeGlyphDecoded decoded, out CodeGlyphDecodeDiagnostics diagnostics, CodeGlyphDecodeOptions options) #BooleanAttempts to decode a QR or barcode from raw pixels using a single options object, with diagnostics.
Parameters
- pixels System.Byte[]
- width System.Int32
- height System.Int32
- stride System.Int32
- format CodeGlyphX.PixelFormat
- decoded CodeGlyphX.CodeGlyphDecoded@
- diagnostics CodeGlyphX.CodeGlyphDecodeDiagnostics@
- options CodeGlyphX.CodeGlyphDecodeOptions
TryDecode(System.ReadOnlySpan{System.Byte} pixels, System.Int32 width, System.Int32 height, System.Int32 stride, CodeGlyphX.PixelFormat format, CodeGlyphX.CodeGlyphDecoded@ decoded, CodeGlyphX.CodeGlyphDecodeOptions options) #Attempts to decode a QR or barcode from raw pixels using a single options object.
Parameters
- pixels System.ReadOnlySpan{System.Byte}
- width System.Int32
- height System.Int32
- stride System.Int32
- format CodeGlyphX.PixelFormat
- decoded CodeGlyphX.CodeGlyphDecoded@
- options CodeGlyphX.CodeGlyphDecodeOptions
TryDecode(System.ReadOnlySpan{System.Byte} pixels, System.Int32 width, System.Int32 height, System.Int32 stride, CodeGlyphX.PixelFormat format, CodeGlyphX.CodeGlyphDecoded@ decoded, CodeGlyphX.CodeGlyphDecodeDiagnostics@ diagnostics, CodeGlyphX.CodeGlyphDecodeOptions options) #Attempts to decode a QR or barcode from raw pixels using a single options object, with diagnostics.
Parameters
- pixels System.ReadOnlySpan{System.Byte}
- width System.Int32
- height System.Int32
- stride System.Int32
- format CodeGlyphX.PixelFormat
- decoded CodeGlyphX.CodeGlyphDecoded@
- diagnostics CodeGlyphX.CodeGlyphDecodeDiagnostics@
- options CodeGlyphX.CodeGlyphDecodeOptions
public static Boolean TryDecode(BitMatrix modules, out CodeGlyphDecoded decoded, Nullable<BarcodeType> expectedBarcode = null, Boolean preferBarcode = false) #BooleanAttempts to decode a QR or barcode from a module matrix.
Parameters
- modules CodeGlyphX.BitMatrix
- decoded CodeGlyphX.CodeGlyphDecoded@
- expectedBarcode System.Nullable{CodeGlyphX.BarcodeType} = null
- preferBarcode System.Boolean = false
public static Boolean TryDecodeAll(ReadOnlySpan<Byte> pixels, Int32 width, Int32 height, Int32 stride, PixelFormat format, out CodeGlyphDecoded[] decoded, Nullable<BarcodeType> expectedBarcode = null, Boolean includeBarcode = true, Boolean preferBarcode = false, QrPixelDecodeOptions qrOptions = null, CancellationToken cancellationToken = null, BarcodeDecodeOptions barcodeOptions = null) #BooleanAttempts to decode all QR codes and (optionally) a 1D barcode from raw pixels.
Parameters
- pixels System.Byte[]
- width System.Int32
- height System.Int32
- stride System.Int32
- format CodeGlyphX.PixelFormat
- decoded CodeGlyphX.CodeGlyphDecoded[]@
- expectedBarcode System.Nullable{CodeGlyphX.BarcodeType} = null
- includeBarcode System.Boolean = true
- preferBarcode System.Boolean = false
- qrOptions CodeGlyphX.QrPixelDecodeOptions = null
- cancellationToken System.Threading.CancellationToken = null
- barcodeOptions CodeGlyphX.BarcodeDecodeOptions = null
public static Boolean TryDecodeAll(ReadOnlySpan<Byte> pixels, Int32 width, Int32 height, Int32 stride, PixelFormat format, out CodeGlyphDecoded[] decoded, out CodeGlyphDecodeDiagnostics diagnostics, Nullable<BarcodeType> expectedBarcode = null, Boolean includeBarcode = true, Boolean preferBarcode = false, QrPixelDecodeOptions qrOptions = null, CancellationToken cancellationToken = null, BarcodeDecodeOptions barcodeOptions = null) #BooleanAttempts to decode all QR codes and (optionally) a 1D barcode from raw pixels, with diagnostics.
Parameters
- pixels System.Byte[]
- width System.Int32
- height System.Int32
- stride System.Int32
- format CodeGlyphX.PixelFormat
- decoded CodeGlyphX.CodeGlyphDecoded[]@
- diagnostics CodeGlyphX.CodeGlyphDecodeDiagnostics@
- expectedBarcode System.Nullable{CodeGlyphX.BarcodeType} = null
- includeBarcode System.Boolean = true
- preferBarcode System.Boolean = false
- qrOptions CodeGlyphX.QrPixelDecodeOptions = null
- cancellationToken System.Threading.CancellationToken = null
- barcodeOptions CodeGlyphX.BarcodeDecodeOptions = null
TryDecodeAll(System.ReadOnlySpan{System.Byte} pixels, System.Int32 width, System.Int32 height, System.Int32 stride, CodeGlyphX.PixelFormat format, CodeGlyphX.CodeGlyphDecoded[]@ decoded, System.Nullable{CodeGlyphX.BarcodeType} expectedBarcode, System.Boolean includeBarcode, System.Boolean preferBarcode, CodeGlyphX.QrPixelDecodeOptions qrOptions, System.Threading.CancellationToken cancellationToken, CodeGlyphX.BarcodeDecodeOptions barcodeOptions) #Attempts to decode all QR codes and (optionally) a 1D barcode from raw pixels.
Parameters
- pixels System.ReadOnlySpan{System.Byte}
- width System.Int32
- height System.Int32
- stride System.Int32
- format CodeGlyphX.PixelFormat
- decoded CodeGlyphX.CodeGlyphDecoded[]@
- expectedBarcode System.Nullable{CodeGlyphX.BarcodeType}
- includeBarcode System.Boolean
- preferBarcode System.Boolean
- qrOptions CodeGlyphX.QrPixelDecodeOptions
- cancellationToken System.Threading.CancellationToken
- barcodeOptions CodeGlyphX.BarcodeDecodeOptions
TryDecodeAll(System.ReadOnlySpan{System.Byte} pixels, System.Int32 width, System.Int32 height, System.Int32 stride, CodeGlyphX.PixelFormat format, CodeGlyphX.CodeGlyphDecoded[]@ decoded, CodeGlyphX.CodeGlyphDecodeDiagnostics@ diagnostics, System.Nullable{CodeGlyphX.BarcodeType} expectedBarcode, System.Boolean includeBarcode, System.Boolean preferBarcode, CodeGlyphX.QrPixelDecodeOptions qrOptions, System.Threading.CancellationToken cancellationToken, CodeGlyphX.BarcodeDecodeOptions barcodeOptions) #Attempts to decode all QR codes and (optionally) a 1D barcode from raw pixels, with diagnostics.
Parameters
- pixels System.ReadOnlySpan{System.Byte}
- width System.Int32
- height System.Int32
- stride System.Int32
- format CodeGlyphX.PixelFormat
- decoded CodeGlyphX.CodeGlyphDecoded[]@
- diagnostics CodeGlyphX.CodeGlyphDecodeDiagnostics@
- expectedBarcode System.Nullable{CodeGlyphX.BarcodeType}
- includeBarcode System.Boolean
- preferBarcode System.Boolean
- qrOptions CodeGlyphX.QrPixelDecodeOptions
- cancellationToken System.Threading.CancellationToken
- barcodeOptions CodeGlyphX.BarcodeDecodeOptions
public static Boolean TryDecodeAll(ReadOnlySpan<Byte> pixels, Int32 width, Int32 height, Int32 stride, PixelFormat format, out CodeGlyphDecoded[] decoded, CodeGlyphDecodeOptions options) #BooleanAttempts to decode all symbols from raw pixels using a single options object.
Parameters
- pixels System.Byte[]
- width System.Int32
- height System.Int32
- stride System.Int32
- format CodeGlyphX.PixelFormat
- decoded CodeGlyphX.CodeGlyphDecoded[]@
- options CodeGlyphX.CodeGlyphDecodeOptions
public static Boolean TryDecodeAll(ReadOnlySpan<Byte> pixels, Int32 width, Int32 height, Int32 stride, PixelFormat format, out CodeGlyphDecoded[] decoded, out CodeGlyphDecodeDiagnostics diagnostics, CodeGlyphDecodeOptions options) #BooleanAttempts to decode all symbols from raw pixels using a single options object, with diagnostics.
Parameters
- pixels System.Byte[]
- width System.Int32
- height System.Int32
- stride System.Int32
- format CodeGlyphX.PixelFormat
- decoded CodeGlyphX.CodeGlyphDecoded[]@
- diagnostics CodeGlyphX.CodeGlyphDecodeDiagnostics@
- options CodeGlyphX.CodeGlyphDecodeOptions
TryDecodeAll(System.ReadOnlySpan{System.Byte} pixels, System.Int32 width, System.Int32 height, System.Int32 stride, CodeGlyphX.PixelFormat format, CodeGlyphX.CodeGlyphDecoded[]@ decoded, CodeGlyphX.CodeGlyphDecodeOptions options) #Attempts to decode all symbols from raw pixels using a single options object.
Parameters
- pixels System.ReadOnlySpan{System.Byte}
- width System.Int32
- height System.Int32
- stride System.Int32
- format CodeGlyphX.PixelFormat
- decoded CodeGlyphX.CodeGlyphDecoded[]@
- options CodeGlyphX.CodeGlyphDecodeOptions
TryDecodeAll(System.ReadOnlySpan{System.Byte} pixels, System.Int32 width, System.Int32 height, System.Int32 stride, CodeGlyphX.PixelFormat format, CodeGlyphX.CodeGlyphDecoded[]@ decoded, CodeGlyphX.CodeGlyphDecodeDiagnostics@ diagnostics, CodeGlyphX.CodeGlyphDecodeOptions options) #Attempts to decode all symbols from raw pixels using a single options object, with diagnostics.
Parameters
- pixels System.ReadOnlySpan{System.Byte}
- width System.Int32
- height System.Int32
- stride System.Int32
- format CodeGlyphX.PixelFormat
- decoded CodeGlyphX.CodeGlyphDecoded[]@
- diagnostics CodeGlyphX.CodeGlyphDecodeDiagnostics@
- options CodeGlyphX.CodeGlyphDecodeOptions
public static Boolean TryDecodeAllAuto(Stream stream, out CodeGlyphDecoded[] decoded, CodeGlyphDecodeOptions options = null) #BooleanAttempts to decode all QR codes and (optionally) a 1D barcode from auto-detected image bytes.
Parameters
- image System.Byte[]
- decoded CodeGlyphX.CodeGlyphDecoded[]@
- options CodeGlyphX.CodeGlyphDecodeOptions = null
TryDecodeAllAuto(System.IO.Stream stream, CodeGlyphX.CodeGlyphDecoded[]@ decoded, CodeGlyphX.CodeGlyphDecodeOptions options) #Attempts to decode all QR codes and (optionally) a 1D barcode from an auto-detected image stream.
Parameters
- stream System.IO.Stream
- decoded CodeGlyphX.CodeGlyphDecoded[]@
- options CodeGlyphX.CodeGlyphDecodeOptions
public static Boolean TryDecodeAllAutoFile(String path, out CodeGlyphDecoded[] decoded, CodeGlyphDecodeOptions options = null) #BooleanAttempts to decode all QR codes and (optionally) a 1D barcode from an auto-detected image file.
Parameters
- path System.String
- decoded CodeGlyphX.CodeGlyphDecoded[]@
- options CodeGlyphX.CodeGlyphDecodeOptions = null
public static Boolean TryDecodeAllImage(Stream stream, out CodeGlyphDecoded[] decoded, Nullable<BarcodeType> expectedBarcode = null, Boolean includeBarcode = true, Boolean preferBarcode = false, QrPixelDecodeOptions qrOptions = null, CancellationToken cancellationToken = null, BarcodeDecodeOptions barcodeOptions = null) #BooleanAttempts to decode all QR codes and (optionally) a 1D barcode from common image formats (PNG/BMP/PPM/PBM/PGM/PAM/XBM/XPM/TGA).
Parameters
- image System.Byte[]
- decoded CodeGlyphX.CodeGlyphDecoded[]@
- expectedBarcode System.Nullable{CodeGlyphX.BarcodeType} = null
- includeBarcode System.Boolean = true
- preferBarcode System.Boolean = false
- qrOptions CodeGlyphX.QrPixelDecodeOptions = null
- cancellationToken System.Threading.CancellationToken = null
- barcodeOptions CodeGlyphX.BarcodeDecodeOptions = null
TryDecodeAllImage(System.IO.Stream stream, CodeGlyphX.CodeGlyphDecoded[]@ decoded, System.Nullable{CodeGlyphX.BarcodeType} expectedBarcode, System.Boolean includeBarcode, System.Boolean preferBarcode, CodeGlyphX.QrPixelDecodeOptions qrOptions, System.Threading.CancellationToken cancellationToken, CodeGlyphX.BarcodeDecodeOptions barcodeOptions) #Attempts to decode all QR codes and (optionally) a 1D barcode from an image stream (PNG/BMP/PPM/PBM/PGM/PAM/XBM/XPM/TGA).
Parameters
- stream System.IO.Stream
- decoded CodeGlyphX.CodeGlyphDecoded[]@
- expectedBarcode System.Nullable{CodeGlyphX.BarcodeType}
- includeBarcode System.Boolean
- preferBarcode System.Boolean
- qrOptions CodeGlyphX.QrPixelDecodeOptions
- cancellationToken System.Threading.CancellationToken
- barcodeOptions CodeGlyphX.BarcodeDecodeOptions
public static Boolean TryDecodeAllImage(Stream stream, out CodeGlyphDecoded[] decoded, CodeGlyphDecodeOptions options) #BooleanAttempts to decode all symbols from common image formats using a single options object.
Parameters
- image System.Byte[]
- decoded CodeGlyphX.CodeGlyphDecoded[]@
- options CodeGlyphX.CodeGlyphDecodeOptions
TryDecodeAllImage(System.IO.Stream stream, CodeGlyphX.CodeGlyphDecoded[]@ decoded, CodeGlyphX.CodeGlyphDecodeOptions options) #Attempts to decode all symbols from an image stream using a single options object.
Parameters
- stream System.IO.Stream
- decoded CodeGlyphX.CodeGlyphDecoded[]@
- options CodeGlyphX.CodeGlyphDecodeOptions
public static async Task<CodeGlyphDecoded[]> TryDecodeAllImageAsync(Stream stream, Nullable<BarcodeType> expectedBarcode = null, Boolean includeBarcode = true, Boolean preferBarcode = false, QrPixelDecodeOptions qrOptions = null, CancellationToken cancellationToken = null, BarcodeDecodeOptions barcodeOptions = null) #Task<CodeGlyphDecoded[]>Attempts to decode all QR codes and (optionally) a 1D barcode from an image stream asynchronously.
Parameters
- stream System.IO.Stream
- expectedBarcode System.Nullable{CodeGlyphX.BarcodeType} = null
- includeBarcode System.Boolean = true
- preferBarcode System.Boolean = false
- qrOptions CodeGlyphX.QrPixelDecodeOptions = null
- cancellationToken System.Threading.CancellationToken = null
- barcodeOptions CodeGlyphX.BarcodeDecodeOptions = null
public static async Task<CodeGlyphDecoded[]> TryDecodeAllImageAsync(Stream stream, CodeGlyphDecodeOptions options) #Task<CodeGlyphDecoded[]>Attempts to decode all symbols from an image stream using a single options object asynchronously.
Parameters
- stream System.IO.Stream
- options CodeGlyphX.CodeGlyphDecodeOptions
public static async Task<CodeGlyphDecoded[]> TryDecodeAllImageFileAsync(String path, Nullable<BarcodeType> expectedBarcode = null, Boolean includeBarcode = true, Boolean preferBarcode = false, QrPixelDecodeOptions qrOptions = null, CancellationToken cancellationToken = null, BarcodeDecodeOptions barcodeOptions = null) #Task<CodeGlyphDecoded[]>Attempts to decode all QR codes and (optionally) a 1D barcode from an image file asynchronously.
Parameters
- path System.String
- expectedBarcode System.Nullable{CodeGlyphX.BarcodeType} = null
- includeBarcode System.Boolean = true
- preferBarcode System.Boolean = false
- qrOptions CodeGlyphX.QrPixelDecodeOptions = null
- cancellationToken System.Threading.CancellationToken = null
- barcodeOptions CodeGlyphX.BarcodeDecodeOptions = null
public static Boolean TryDecodeAllPng(Stream stream, out CodeGlyphDecoded[] decoded, Nullable<BarcodeType> expectedBarcode = null, Boolean includeBarcode = true, Boolean preferBarcode = false, QrPixelDecodeOptions qrOptions = null, CancellationToken cancellationToken = null, BarcodeDecodeOptions barcodeOptions = null) #BooleanAttempts to decode all QR codes and (optionally) a 1D barcode from PNG bytes.
Parameters
- png System.Byte[]
- decoded CodeGlyphX.CodeGlyphDecoded[]@
- expectedBarcode System.Nullable{CodeGlyphX.BarcodeType} = null
- includeBarcode System.Boolean = true
- preferBarcode System.Boolean = false
- qrOptions CodeGlyphX.QrPixelDecodeOptions = null
- cancellationToken System.Threading.CancellationToken = null
- barcodeOptions CodeGlyphX.BarcodeDecodeOptions = null
TryDecodeAllPng(System.IO.Stream stream, CodeGlyphX.CodeGlyphDecoded[]@ decoded, System.Nullable{CodeGlyphX.BarcodeType} expectedBarcode, System.Boolean includeBarcode, System.Boolean preferBarcode, CodeGlyphX.QrPixelDecodeOptions qrOptions, System.Threading.CancellationToken cancellationToken, CodeGlyphX.BarcodeDecodeOptions barcodeOptions) #Attempts to decode all QR codes and (optionally) a 1D barcode from a PNG stream.
Parameters
- stream System.IO.Stream
- decoded CodeGlyphX.CodeGlyphDecoded[]@
- expectedBarcode System.Nullable{CodeGlyphX.BarcodeType}
- includeBarcode System.Boolean
- preferBarcode System.Boolean
- qrOptions CodeGlyphX.QrPixelDecodeOptions
- cancellationToken System.Threading.CancellationToken
- barcodeOptions CodeGlyphX.BarcodeDecodeOptions
public static Boolean TryDecodeAllPng(Stream stream, out CodeGlyphDecoded[] decoded, CodeGlyphDecodeOptions options) #BooleanAttempts to decode all symbols from PNG bytes using a single options object.
Parameters
- png System.Byte[]
- decoded CodeGlyphX.CodeGlyphDecoded[]@
- options CodeGlyphX.CodeGlyphDecodeOptions
TryDecodeAllPng(System.IO.Stream stream, CodeGlyphX.CodeGlyphDecoded[]@ decoded, CodeGlyphX.CodeGlyphDecodeOptions options) #Attempts to decode all symbols from a PNG stream using a single options object.
Parameters
- stream System.IO.Stream
- decoded CodeGlyphX.CodeGlyphDecoded[]@
- options CodeGlyphX.CodeGlyphDecodeOptions
public static async Task<CodeGlyphDecoded[]> TryDecodeAllPngAsync(Stream stream, Nullable<BarcodeType> expectedBarcode = null, Boolean includeBarcode = true, Boolean preferBarcode = false, QrPixelDecodeOptions qrOptions = null, CancellationToken cancellationToken = null, BarcodeDecodeOptions barcodeOptions = null) #Task<CodeGlyphDecoded[]>Attempts to decode all QR codes and (optionally) a 1D barcode from PNG bytes asynchronously.
Parameters
- stream System.IO.Stream
- expectedBarcode System.Nullable{CodeGlyphX.BarcodeType} = null
- includeBarcode System.Boolean = true
- preferBarcode System.Boolean = false
- qrOptions CodeGlyphX.QrPixelDecodeOptions = null
- cancellationToken System.Threading.CancellationToken = null
- barcodeOptions CodeGlyphX.BarcodeDecodeOptions = null
public static Boolean TryDecodeAllPngFile(String path, out CodeGlyphDecoded[] decoded, Nullable<BarcodeType> expectedBarcode = null, Boolean includeBarcode = true, Boolean preferBarcode = false, QrPixelDecodeOptions qrOptions = null, CancellationToken cancellationToken = null, BarcodeDecodeOptions barcodeOptions = null) #BooleanAttempts to decode all QR codes and (optionally) a 1D barcode from a PNG file.
Parameters
- path System.String
- decoded CodeGlyphX.CodeGlyphDecoded[]@
- expectedBarcode System.Nullable{CodeGlyphX.BarcodeType} = null
- includeBarcode System.Boolean = true
- preferBarcode System.Boolean = false
- qrOptions CodeGlyphX.QrPixelDecodeOptions = null
- cancellationToken System.Threading.CancellationToken = null
- barcodeOptions CodeGlyphX.BarcodeDecodeOptions = null
public static Boolean TryDecodeAllPngFile(String path, out CodeGlyphDecoded[] decoded, CodeGlyphDecodeOptions options) #BooleanAttempts to decode all symbols from a PNG file using a single options object.
Parameters
- path System.String
- decoded CodeGlyphX.CodeGlyphDecoded[]@
- options CodeGlyphX.CodeGlyphDecodeOptions
public static async Task<CodeGlyphDecoded[]> TryDecodeAllPngFileAsync(String path, Nullable<BarcodeType> expectedBarcode = null, Boolean includeBarcode = true, Boolean preferBarcode = false, QrPixelDecodeOptions qrOptions = null, CancellationToken cancellationToken = null, BarcodeDecodeOptions barcodeOptions = null) #Task<CodeGlyphDecoded[]>Attempts to decode all QR codes and (optionally) a 1D barcode from a PNG file asynchronously.
Parameters
- path System.String
- expectedBarcode System.Nullable{CodeGlyphX.BarcodeType} = null
- includeBarcode System.Boolean = true
- preferBarcode System.Boolean = false
- qrOptions CodeGlyphX.QrPixelDecodeOptions = null
- cancellationToken System.Threading.CancellationToken = null
- barcodeOptions CodeGlyphX.BarcodeDecodeOptions = null
public static Boolean TryDecodeAuto(Stream stream, out CodeGlyphDecoded decoded, CodeGlyphDecodeOptions options = null) #BooleanAttempts to decode a QR or barcode from auto-detected image bytes.
Parameters
- image System.Byte[]
- decoded CodeGlyphX.CodeGlyphDecoded@
- options CodeGlyphX.CodeGlyphDecodeOptions = null
TryDecodeAuto(System.IO.Stream stream, CodeGlyphX.CodeGlyphDecoded@ decoded, CodeGlyphX.CodeGlyphDecodeOptions options) #Attempts to decode a QR or barcode from an auto-detected image stream.
Parameters
- stream System.IO.Stream
- decoded CodeGlyphX.CodeGlyphDecoded@
- options CodeGlyphX.CodeGlyphDecodeOptions
public static Boolean TryDecodeAutoFile(String path, out CodeGlyphDecoded decoded, CodeGlyphDecodeOptions options = null) #BooleanAttempts to decode a QR or barcode from an auto-detected image file.
Parameters
- path System.String
- decoded CodeGlyphX.CodeGlyphDecoded@
- options CodeGlyphX.CodeGlyphDecodeOptions = null
public static Boolean TryDecodeImage(Stream stream, out CodeGlyphDecoded decoded, Nullable<BarcodeType> expectedBarcode = null, Boolean preferBarcode = false, QrPixelDecodeOptions qrOptions = null, CancellationToken cancellationToken = null, BarcodeDecodeOptions barcodeOptions = null) #BooleanAttempts to decode a QR or barcode from common image formats (PNG/BMP/PPM/PBM/PGM/PAM/XBM/XPM/TGA).
Parameters
- image System.Byte[]
- decoded CodeGlyphX.CodeGlyphDecoded@
- expectedBarcode System.Nullable{CodeGlyphX.BarcodeType} = null
- preferBarcode System.Boolean = false
- qrOptions CodeGlyphX.QrPixelDecodeOptions = null
- cancellationToken System.Threading.CancellationToken = null
- barcodeOptions CodeGlyphX.BarcodeDecodeOptions = null
TryDecodeImage(System.IO.Stream stream, CodeGlyphX.CodeGlyphDecoded@ decoded, System.Nullable{CodeGlyphX.BarcodeType} expectedBarcode, System.Boolean preferBarcode, CodeGlyphX.QrPixelDecodeOptions qrOptions, System.Threading.CancellationToken cancellationToken, CodeGlyphX.BarcodeDecodeOptions barcodeOptions) #Attempts to decode a QR or barcode from an image stream (PNG/BMP/PPM/PBM/PGM/PAM/XBM/XPM/TGA).
Parameters
- stream System.IO.Stream
- decoded CodeGlyphX.CodeGlyphDecoded@
- expectedBarcode System.Nullable{CodeGlyphX.BarcodeType}
- preferBarcode System.Boolean
- qrOptions CodeGlyphX.QrPixelDecodeOptions
- cancellationToken System.Threading.CancellationToken
- barcodeOptions CodeGlyphX.BarcodeDecodeOptions
public static Boolean TryDecodeImage(Stream stream, out CodeGlyphDecoded decoded, CodeGlyphDecodeOptions options) #BooleanAttempts to decode a QR or barcode from common image formats using a single options object.
Parameters
- image System.Byte[]
- decoded CodeGlyphX.CodeGlyphDecoded@
- options CodeGlyphX.CodeGlyphDecodeOptions
public static Boolean TryDecodeImage(Byte[] image, out CodeGlyphDecoded decoded, out CodeGlyphDecodeDiagnostics diagnostics, CodeGlyphDecodeOptions options) #BooleanAttempts to decode a QR or barcode from common image formats using a single options object, with diagnostics.
Parameters
- image System.Byte[]
- decoded CodeGlyphX.CodeGlyphDecoded@
- diagnostics CodeGlyphX.CodeGlyphDecodeDiagnostics@
- options CodeGlyphX.CodeGlyphDecodeOptions
TryDecodeImage(System.IO.Stream stream, CodeGlyphX.CodeGlyphDecoded@ decoded, CodeGlyphX.CodeGlyphDecodeOptions options) #Attempts to decode a QR or barcode from an image stream using a single options object.
Parameters
- stream System.IO.Stream
- decoded CodeGlyphX.CodeGlyphDecoded@
- options CodeGlyphX.CodeGlyphDecodeOptions
public static async Task<CodeGlyphDecoded> TryDecodeImageAsync(Stream stream, Nullable<BarcodeType> expectedBarcode = null, Boolean preferBarcode = false, QrPixelDecodeOptions qrOptions = null, CancellationToken cancellationToken = null, BarcodeDecodeOptions barcodeOptions = null) #Task<CodeGlyphDecoded>Attempts to decode a QR or barcode from an image stream asynchronously (PNG/BMP/PPM/PBM/PGM/PAM/XBM/XPM/TGA).
Parameters
- stream System.IO.Stream
- expectedBarcode System.Nullable{CodeGlyphX.BarcodeType} = null
- preferBarcode System.Boolean = false
- qrOptions CodeGlyphX.QrPixelDecodeOptions = null
- cancellationToken System.Threading.CancellationToken = null
- barcodeOptions CodeGlyphX.BarcodeDecodeOptions = null
public static async Task<CodeGlyphDecoded> TryDecodeImageAsync(Stream stream, CodeGlyphDecodeOptions options) #Task<CodeGlyphDecoded>Attempts to decode a QR or barcode from an image stream using a single options object asynchronously.
Parameters
- stream System.IO.Stream
- options CodeGlyphX.CodeGlyphDecodeOptions
public static async Task<CodeGlyphDecoded> TryDecodeImageFileAsync(String path, Nullable<BarcodeType> expectedBarcode = null, Boolean preferBarcode = false, QrPixelDecodeOptions qrOptions = null, CancellationToken cancellationToken = null, BarcodeDecodeOptions barcodeOptions = null) #Task<CodeGlyphDecoded>Attempts to decode a QR or barcode from an image file asynchronously (PNG/BMP/PPM/PBM/PGM/PAM/XBM/XPM/TGA).
Parameters
- path System.String
- expectedBarcode System.Nullable{CodeGlyphX.BarcodeType} = null
- preferBarcode System.Boolean = false
- qrOptions CodeGlyphX.QrPixelDecodeOptions = null
- cancellationToken System.Threading.CancellationToken = null
- barcodeOptions CodeGlyphX.BarcodeDecodeOptions = null
public static Boolean TryDecodePng(Stream stream, out CodeGlyphDecoded decoded, Nullable<BarcodeType> expectedBarcode = null, Boolean preferBarcode = false, QrPixelDecodeOptions qrOptions = null, CancellationToken cancellationToken = null, BarcodeDecodeOptions barcodeOptions = null) #BooleanAttempts to decode a QR or 1D barcode from PNG bytes.
Parameters
- png System.Byte[]
- decoded CodeGlyphX.CodeGlyphDecoded@
- expectedBarcode System.Nullable{CodeGlyphX.BarcodeType} = null
- preferBarcode System.Boolean = false
- qrOptions CodeGlyphX.QrPixelDecodeOptions = null
- cancellationToken System.Threading.CancellationToken = null
- barcodeOptions CodeGlyphX.BarcodeDecodeOptions = null
TryDecodePng(System.IO.Stream stream, CodeGlyphX.CodeGlyphDecoded@ decoded, System.Nullable{CodeGlyphX.BarcodeType} expectedBarcode, System.Boolean preferBarcode, CodeGlyphX.QrPixelDecodeOptions qrOptions, System.Threading.CancellationToken cancellationToken, CodeGlyphX.BarcodeDecodeOptions barcodeOptions) #Attempts to decode a QR or 1D barcode from a PNG stream.
Parameters
- stream System.IO.Stream
- decoded CodeGlyphX.CodeGlyphDecoded@
- expectedBarcode System.Nullable{CodeGlyphX.BarcodeType}
- preferBarcode System.Boolean
- qrOptions CodeGlyphX.QrPixelDecodeOptions
- cancellationToken System.Threading.CancellationToken
- barcodeOptions CodeGlyphX.BarcodeDecodeOptions
public static Boolean TryDecodePng(Stream stream, out CodeGlyphDecoded decoded, CodeGlyphDecodeOptions options) #BooleanAttempts to decode a QR or barcode from PNG bytes using a single options object.
Parameters
- png System.Byte[]
- decoded CodeGlyphX.CodeGlyphDecoded@
- options CodeGlyphX.CodeGlyphDecodeOptions
public static Boolean TryDecodePng(Byte[] png, out CodeGlyphDecoded decoded, out CodeGlyphDecodeDiagnostics diagnostics, CodeGlyphDecodeOptions options) #BooleanAttempts to decode a QR or barcode from PNG bytes using a single options object, with diagnostics.
Parameters
- png System.Byte[]
- decoded CodeGlyphX.CodeGlyphDecoded@
- diagnostics CodeGlyphX.CodeGlyphDecodeDiagnostics@
- options CodeGlyphX.CodeGlyphDecodeOptions
TryDecodePng(System.IO.Stream stream, CodeGlyphX.CodeGlyphDecoded@ decoded, CodeGlyphX.CodeGlyphDecodeOptions options) #Attempts to decode a QR or barcode from a PNG stream using a single options object.
Parameters
- stream System.IO.Stream
- decoded CodeGlyphX.CodeGlyphDecoded@
- options CodeGlyphX.CodeGlyphDecodeOptions
public static async Task<CodeGlyphDecoded> TryDecodePngAsync(Stream stream, Nullable<BarcodeType> expectedBarcode = null, Boolean preferBarcode = false, QrPixelDecodeOptions qrOptions = null, CancellationToken cancellationToken = null, BarcodeDecodeOptions barcodeOptions = null) #Task<CodeGlyphDecoded>Attempts to decode a QR or barcode from PNG bytes asynchronously.
Parameters
- stream System.IO.Stream
- expectedBarcode System.Nullable{CodeGlyphX.BarcodeType} = null
- preferBarcode System.Boolean = false
- qrOptions CodeGlyphX.QrPixelDecodeOptions = null
- cancellationToken System.Threading.CancellationToken = null
- barcodeOptions CodeGlyphX.BarcodeDecodeOptions = null
public static Boolean TryDecodePngFile(String path, out CodeGlyphDecoded decoded, Nullable<BarcodeType> expectedBarcode = null, Boolean preferBarcode = false, QrPixelDecodeOptions qrOptions = null, CancellationToken cancellationToken = null, BarcodeDecodeOptions barcodeOptions = null) #BooleanAttempts to decode a QR or 1D barcode from a PNG file.
Parameters
- path System.String
- decoded CodeGlyphX.CodeGlyphDecoded@
- expectedBarcode System.Nullable{CodeGlyphX.BarcodeType} = null
- preferBarcode System.Boolean = false
- qrOptions CodeGlyphX.QrPixelDecodeOptions = null
- cancellationToken System.Threading.CancellationToken = null
- barcodeOptions CodeGlyphX.BarcodeDecodeOptions = null
public static Boolean TryDecodePngFile(String path, out CodeGlyphDecoded decoded, CodeGlyphDecodeOptions options) #BooleanAttempts to decode a QR or barcode from a PNG file using a single options object.
Parameters
- path System.String
- decoded CodeGlyphX.CodeGlyphDecoded@
- options CodeGlyphX.CodeGlyphDecodeOptions
public static async Task<CodeGlyphDecoded> TryDecodePngFileAsync(String path, Nullable<BarcodeType> expectedBarcode = null, Boolean preferBarcode = false, QrPixelDecodeOptions qrOptions = null, CancellationToken cancellationToken = null, BarcodeDecodeOptions barcodeOptions = null) #Task<CodeGlyphDecoded>Attempts to decode a QR or barcode from a PNG file asynchronously.
Parameters
- path System.String
- expectedBarcode System.Nullable{CodeGlyphX.BarcodeType} = null
- preferBarcode System.Boolean = false
- qrOptions CodeGlyphX.QrPixelDecodeOptions = null
- cancellationToken System.Threading.CancellationToken = null
- barcodeOptions CodeGlyphX.BarcodeDecodeOptions = null