API Reference
QrImageDecoder
Decodes QR codes from raw pixel buffers.
Inheritance
- Object
- QrImageDecoder
Examples
using CodeGlyphX;
var bytes = File.ReadAllBytes("qr.png");
if (QrImageDecoder.TryDecodeImage(bytes, out var decoded)) {
Console.WriteLine(decoded.Text);
}
Methods
public static DecodeBatchResult<QrDecoded> DecodeImageBatch(IEnumerable<Byte[]> images, ImageDecodeOptions imageOptions = null, QrPixelDecodeOptions options = null, CancellationToken cancellationToken = null) #DecodeBatchResult<QrDecoded>Decodes a batch of QR images with shared settings and aggregated diagnostics.
Parameters
- images System.Collections.Generic.IEnumerable{System.Byte[]}
- imageOptions CodeGlyphX.ImageDecodeOptions = null
- options CodeGlyphX.QrPixelDecodeOptions = null
- cancellationToken System.Threading.CancellationToken = null
public static DecodeResult<QrDecoded> DecodeImageResult(Stream stream, ImageDecodeOptions imageOptions = null, QrPixelDecodeOptions options = null, CancellationToken cancellationToken = null) #DecodeResult<QrDecoded>Decodes a QR code from common image formats (PNG/BMP/PPM/PBM/PGM/PAM/XBM/XPM/TGA) and returns diagnostics.
Parameters
- image System.Byte[]
- imageOptions CodeGlyphX.ImageDecodeOptions = null
- options CodeGlyphX.QrPixelDecodeOptions = null
- cancellationToken System.Threading.CancellationToken = null
DecodeImageResult(System.ReadOnlySpan{System.Byte} image, CodeGlyphX.ImageDecodeOptions imageOptions, CodeGlyphX.QrPixelDecodeOptions options, System.Threading.CancellationToken cancellationToken) #Decodes a QR code from common image formats (PNG/BMP/PPM/PBM/PGM/PAM/XBM/XPM/TGA) in a span and returns diagnostics.
Parameters
- image System.ReadOnlySpan{System.Byte}
- imageOptions CodeGlyphX.ImageDecodeOptions
- options CodeGlyphX.QrPixelDecodeOptions
- cancellationToken System.Threading.CancellationToken
DecodeImageResult(System.IO.Stream stream, CodeGlyphX.ImageDecodeOptions imageOptions, CodeGlyphX.QrPixelDecodeOptions options, System.Threading.CancellationToken cancellationToken) #Decodes a QR code from an image stream (PNG/BMP/PPM/PBM/PGM/PAM/XBM/XPM/TGA) and returns diagnostics.
Parameters
- stream System.IO.Stream
- imageOptions CodeGlyphX.ImageDecodeOptions
- options CodeGlyphX.QrPixelDecodeOptions
- cancellationToken System.Threading.CancellationToken
public static Boolean TryDecode(ReadOnlySpan<Byte> pixels, Int32 width, Int32 height, Int32 stride, PixelFormat format, out QrDecoded decoded) #BooleanAttempts to decode a QR code from a raw pixel buffer.
Parameters
- pixels System.Byte[]
- width System.Int32
- height System.Int32
- stride System.Int32
- format CodeGlyphX.PixelFormat
- decoded CodeGlyphX.QrDecoded@
public static Boolean TryDecode(ReadOnlySpan<Byte> pixels, Int32 width, Int32 height, Int32 stride, PixelFormat format, QrPixelDecodeOptions options, out QrDecoded decoded) #BooleanAttempts to decode a QR code from a raw pixel buffer.
Parameters
- pixels System.Byte[]
- width System.Int32
- height System.Int32
- stride System.Int32
- format CodeGlyphX.PixelFormat
- options CodeGlyphX.QrPixelDecodeOptions
- decoded CodeGlyphX.QrDecoded@
public static Boolean TryDecode(Byte[] pixels, Int32 width, Int32 height, Int32 stride, PixelFormat format, QrPixelDecodeOptions options, CancellationToken cancellationToken, out QrDecoded decoded) #BooleanAttempts to decode a QR code from a raw pixel buffer, with cancellation.
Parameters
- pixels System.Byte[]
- width System.Int32
- height System.Int32
- stride System.Int32
- format CodeGlyphX.PixelFormat
- options CodeGlyphX.QrPixelDecodeOptions
- cancellationToken System.Threading.CancellationToken
- decoded CodeGlyphX.QrDecoded@
TryDecode(System.ReadOnlySpan{System.Byte} pixels, System.Int32 width, System.Int32 height, System.Int32 stride, CodeGlyphX.PixelFormat format, CodeGlyphX.QrDecoded@ decoded) #Attempts to decode a QR code from a raw pixel buffer.
Parameters
- pixels System.ReadOnlySpan{System.Byte}
- width System.Int32
- height System.Int32
- stride System.Int32
- format CodeGlyphX.PixelFormat
- decoded CodeGlyphX.QrDecoded@
TryDecode(System.ReadOnlySpan{System.Byte} pixels, System.Int32 width, System.Int32 height, System.Int32 stride, CodeGlyphX.PixelFormat format, CodeGlyphX.QrPixelDecodeOptions options, CodeGlyphX.QrDecoded@ decoded) #Attempts to decode a QR code from a raw pixel buffer.
Parameters
- pixels System.ReadOnlySpan{System.Byte}
- width System.Int32
- height System.Int32
- stride System.Int32
- format CodeGlyphX.PixelFormat
- options CodeGlyphX.QrPixelDecodeOptions
- decoded CodeGlyphX.QrDecoded@
public static Boolean TryDecodeAll(ReadOnlySpan<Byte> pixels, Int32 width, Int32 height, Int32 stride, PixelFormat format, out QrDecoded[] decoded) #BooleanAttempts to decode all QR codes from a raw pixel buffer.
Parameters
- pixels System.Byte[]
- width System.Int32
- height System.Int32
- stride System.Int32
- format CodeGlyphX.PixelFormat
- decoded CodeGlyphX.QrDecoded[]@
public static Boolean TryDecodeAll(ReadOnlySpan<Byte> pixels, Int32 width, Int32 height, Int32 stride, PixelFormat format, QrPixelDecodeOptions options, out QrDecoded[] decoded) #BooleanAttempts to decode all QR codes from a raw pixel buffer.
Parameters
- pixels System.Byte[]
- width System.Int32
- height System.Int32
- stride System.Int32
- format CodeGlyphX.PixelFormat
- options CodeGlyphX.QrPixelDecodeOptions
- decoded CodeGlyphX.QrDecoded[]@
public static Boolean TryDecodeAll(Byte[] pixels, Int32 width, Int32 height, Int32 stride, PixelFormat format, QrPixelDecodeOptions options, CancellationToken cancellationToken, out QrDecoded[] decoded) #BooleanAttempts to decode all QR codes from a raw pixel buffer, with cancellation.
Parameters
- pixels System.Byte[]
- width System.Int32
- height System.Int32
- stride System.Int32
- format CodeGlyphX.PixelFormat
- options CodeGlyphX.QrPixelDecodeOptions
- cancellationToken System.Threading.CancellationToken
- decoded CodeGlyphX.QrDecoded[]@
TryDecodeAll(System.ReadOnlySpan{System.Byte} pixels, System.Int32 width, System.Int32 height, System.Int32 stride, CodeGlyphX.PixelFormat format, CodeGlyphX.QrDecoded[]@ decoded) #Attempts to decode all QR codes from a raw pixel buffer.
Parameters
- pixels System.ReadOnlySpan{System.Byte}
- width System.Int32
- height System.Int32
- stride System.Int32
- format CodeGlyphX.PixelFormat
- decoded CodeGlyphX.QrDecoded[]@
TryDecodeAll(System.ReadOnlySpan{System.Byte} pixels, System.Int32 width, System.Int32 height, System.Int32 stride, CodeGlyphX.PixelFormat format, CodeGlyphX.QrPixelDecodeOptions options, CodeGlyphX.QrDecoded[]@ decoded) #Attempts to decode all QR codes from a raw pixel buffer.
Parameters
- pixels System.ReadOnlySpan{System.Byte}
- width System.Int32
- height System.Int32
- stride System.Int32
- format CodeGlyphX.PixelFormat
- options CodeGlyphX.QrPixelDecodeOptions
- decoded CodeGlyphX.QrDecoded[]@
public static Boolean TryDecodeAllImage(Stream stream, out QrDecoded[] decoded) #BooleanAttempts to decode all QR codes from common image formats (PNG/BMP/PPM/PBM/PGM/PAM/XBM/XPM/TGA).
Parameters
- image System.Byte[]
- decoded CodeGlyphX.QrDecoded[]@
public static Boolean TryDecodeAllImage(Stream stream, QrPixelDecodeOptions options, out QrDecoded[] decoded) #BooleanAttempts to decode all QR codes from common image formats (PNG/BMP/PPM/PBM/PGM/PAM/XBM/XPM/TGA).
Parameters
- image System.Byte[]
- options CodeGlyphX.QrPixelDecodeOptions
- decoded CodeGlyphX.QrDecoded[]@
public static Boolean TryDecodeAllImage(Stream stream, ImageDecodeOptions imageOptions, QrPixelDecodeOptions options, out QrDecoded[] decoded) #BooleanAttempts to decode all QR codes from common image formats (PNG/BMP/PPM/PBM/PGM/PAM/XBM/XPM/TGA) with image decode options.
Parameters
- image System.Byte[]
- imageOptions CodeGlyphX.ImageDecodeOptions
- options CodeGlyphX.QrPixelDecodeOptions
- decoded CodeGlyphX.QrDecoded[]@
public static Boolean TryDecodeAllImage(Stream stream, ImageDecodeOptions imageOptions, QrPixelDecodeOptions options, CancellationToken cancellationToken, out QrDecoded[] decoded) #BooleanAttempts to decode all QR codes from common image formats (PNG/BMP/PPM/PBM/PGM/PAM/XBM/XPM/TGA) with image decode options and cancellation.
Parameters
- image System.Byte[]
- imageOptions CodeGlyphX.ImageDecodeOptions
- options CodeGlyphX.QrPixelDecodeOptions
- cancellationToken System.Threading.CancellationToken
- decoded CodeGlyphX.QrDecoded[]@
TryDecodeAllImage(System.IO.Stream stream, CodeGlyphX.QrDecoded[]@ decoded) #Attempts to decode all QR codes from an image stream (PNG/BMP/PPM/PBM/PGM/PAM/XBM/XPM/TGA).
Parameters
- stream System.IO.Stream
- decoded CodeGlyphX.QrDecoded[]@
TryDecodeAllImage(System.IO.Stream stream, CodeGlyphX.QrPixelDecodeOptions options, CodeGlyphX.QrDecoded[]@ decoded) #Attempts to decode all QR codes from an image stream (PNG/BMP/PPM/PBM/PGM/PAM/XBM/XPM/TGA).
Parameters
- stream System.IO.Stream
- options CodeGlyphX.QrPixelDecodeOptions
- decoded CodeGlyphX.QrDecoded[]@
TryDecodeAllImage(System.IO.Stream stream, CodeGlyphX.ImageDecodeOptions imageOptions, CodeGlyphX.QrPixelDecodeOptions options, CodeGlyphX.QrDecoded[]@ decoded) #Attempts to decode all QR codes from an image stream (PNG/BMP/PPM/PBM/PGM/PAM/XBM/XPM/TGA) with image decode options.
Parameters
- stream System.IO.Stream
- imageOptions CodeGlyphX.ImageDecodeOptions
- options CodeGlyphX.QrPixelDecodeOptions
- decoded CodeGlyphX.QrDecoded[]@
TryDecodeAllImage(System.IO.Stream stream, CodeGlyphX.ImageDecodeOptions imageOptions, CodeGlyphX.QrPixelDecodeOptions options, System.Threading.CancellationToken cancellationToken, CodeGlyphX.QrDecoded[]@ decoded) #Attempts to decode all QR codes from an image stream (PNG/BMP/PPM/PBM/PGM/PAM/XBM/XPM/TGA) with image decode options and cancellation.
Parameters
- stream System.IO.Stream
- imageOptions CodeGlyphX.ImageDecodeOptions
- options CodeGlyphX.QrPixelDecodeOptions
- cancellationToken System.Threading.CancellationToken
- decoded CodeGlyphX.QrDecoded[]@
public static Boolean TryDecodeImage(Stream stream, out QrDecoded decoded) #BooleanAttempts to decode a QR code from common image formats (PNG/BMP/PPM/PBM/PGM/PAM/XBM/XPM/TGA).
Parameters
- image System.Byte[]
- decoded CodeGlyphX.QrDecoded@
public static Boolean TryDecodeImage(Stream stream, ImageDecodeOptions imageOptions, QrPixelDecodeOptions options, out QrDecoded decoded) #BooleanAttempts to decode a QR code from common image formats (PNG/BMP/PPM/PBM/PGM/PAM/XBM/XPM/TGA), with diagnostics and profile options.
Parameters
- image System.Byte[]
- decoded CodeGlyphX.QrDecoded@
- info CodeGlyphX.QrPixelDecodeInfo@
- options CodeGlyphX.QrPixelDecodeOptions = null
public static Boolean TryDecodeImage(Stream stream, ImageDecodeOptions imageOptions, out QrDecoded decoded, out QrPixelDecodeInfo info, QrPixelDecodeOptions options = null) #BooleanAttempts to decode a QR code from common image formats (PNG/BMP/PPM/PBM/PGM/PAM/XBM/XPM/TGA), with diagnostics, profile options, and cancellation.
Parameters
- image System.Byte[]
- decoded CodeGlyphX.QrDecoded@
- info CodeGlyphX.QrPixelDecodeInfo@
- options CodeGlyphX.QrPixelDecodeOptions
- cancellationToken System.Threading.CancellationToken = null
TryDecodeImage(System.Byte[] image, CodeGlyphX.ImageDecodeOptions imageOptions, CodeGlyphX.QrPixelDecodeOptions options, CodeGlyphX.QrDecoded@ decoded) #Attempts to decode a QR code from common image formats (PNG/BMP/PPM/PBM/PGM/PAM/XBM/XPM/TGA) with image decode options.
Parameters
- image System.Byte[]
- imageOptions CodeGlyphX.ImageDecodeOptions
- options CodeGlyphX.QrPixelDecodeOptions
- decoded CodeGlyphX.QrDecoded@
TryDecodeImage(System.Byte[] image, CodeGlyphX.ImageDecodeOptions imageOptions, CodeGlyphX.QrPixelDecodeOptions options, System.Threading.CancellationToken cancellationToken, CodeGlyphX.QrDecoded@ decoded) #Attempts to decode a QR code from common image formats (PNG/BMP/PPM/PBM/PGM/PAM/XBM/XPM/TGA) with image decode options and cancellation.
Parameters
- image System.Byte[]
- imageOptions CodeGlyphX.ImageDecodeOptions
- options CodeGlyphX.QrPixelDecodeOptions
- cancellationToken System.Threading.CancellationToken
- decoded CodeGlyphX.QrDecoded@
TryDecodeImage(System.Byte[] image, CodeGlyphX.ImageDecodeOptions imageOptions, CodeGlyphX.QrDecoded@ decoded, CodeGlyphX.QrPixelDecodeInfo@ info, CodeGlyphX.QrPixelDecodeOptions options) #Attempts to decode a QR code from common image formats (PNG/BMP/PPM/PBM/PGM/PAM/XBM/XPM/TGA) with image decode options, diagnostics, and profile options.
Parameters
- image System.Byte[]
- imageOptions CodeGlyphX.ImageDecodeOptions
- decoded CodeGlyphX.QrDecoded@
- info CodeGlyphX.QrPixelDecodeInfo@
- options CodeGlyphX.QrPixelDecodeOptions
public static Boolean TryDecodeImage(Stream stream, ImageDecodeOptions imageOptions, out QrDecoded decoded, out QrPixelDecodeInfo info, QrPixelDecodeOptions options, CancellationToken cancellationToken) #BooleanAttempts to decode a QR code from common image formats (PNG/BMP/PPM/PBM/PGM/PAM/XBM/XPM/TGA) with image decode options, diagnostics, profile options, and cancellation.
Parameters
- image System.Byte[]
- imageOptions CodeGlyphX.ImageDecodeOptions
- decoded CodeGlyphX.QrDecoded@
- info CodeGlyphX.QrPixelDecodeInfo@
- options CodeGlyphX.QrPixelDecodeOptions
- cancellationToken System.Threading.CancellationToken
public static Boolean TryDecodeImage(Stream stream, QrPixelDecodeOptions options, out QrDecoded decoded) #BooleanAttempts to decode a QR code from common image formats (PNG/BMP/PPM/PBM/PGM/PAM/XBM/XPM/TGA).
Parameters
- image System.Byte[]
- options CodeGlyphX.QrPixelDecodeOptions
- decoded CodeGlyphX.QrDecoded@
TryDecodeImage(System.Byte[] image, CodeGlyphX.QrPixelDecodeOptions options, System.Threading.CancellationToken cancellationToken, CodeGlyphX.QrDecoded@ decoded) #Attempts to decode a QR code from common image formats (PNG/BMP/PPM/PBM/PGM/PAM/XBM/XPM/TGA), with cancellation.
Parameters
- image System.Byte[]
- options CodeGlyphX.QrPixelDecodeOptions
- cancellationToken System.Threading.CancellationToken
- decoded CodeGlyphX.QrDecoded@
TryDecodeImage(System.ReadOnlySpan{System.Byte} image, CodeGlyphX.QrDecoded@ decoded) #Attempts to decode a QR code from common image formats (PNG/BMP/PPM/PBM/PGM/PAM/XBM/XPM/TGA) from a span.
Parameters
- image System.ReadOnlySpan{System.Byte}
- decoded CodeGlyphX.QrDecoded@
TryDecodeImage(System.ReadOnlySpan{System.Byte} image, CodeGlyphX.QrDecoded@ decoded, CodeGlyphX.QrPixelDecodeInfo@ info, CodeGlyphX.QrPixelDecodeOptions options) #Attempts to decode a QR code from common image formats (PNG/BMP/PPM/PBM/PGM/PAM/XBM/XPM/TGA) from a span, with diagnostics and profile options.
Parameters
- image System.ReadOnlySpan{System.Byte}
- decoded CodeGlyphX.QrDecoded@
- info CodeGlyphX.QrPixelDecodeInfo@
- options CodeGlyphX.QrPixelDecodeOptions
TryDecodeImage(System.ReadOnlySpan{System.Byte} image, CodeGlyphX.QrDecoded@ decoded, CodeGlyphX.QrPixelDecodeInfo@ info, CodeGlyphX.QrPixelDecodeOptions options, System.Threading.CancellationToken cancellationToken) #Attempts to decode a QR code from common image formats (PNG/BMP/PPM/PBM/PGM/PAM/XBM/XPM/TGA) from a span, with diagnostics, profile options, and cancellation.
Parameters
- image System.ReadOnlySpan{System.Byte}
- decoded CodeGlyphX.QrDecoded@
- info CodeGlyphX.QrPixelDecodeInfo@
- options CodeGlyphX.QrPixelDecodeOptions
- cancellationToken System.Threading.CancellationToken
TryDecodeImage(System.ReadOnlySpan{System.Byte} image, CodeGlyphX.ImageDecodeOptions imageOptions, CodeGlyphX.QrPixelDecodeOptions options, CodeGlyphX.QrDecoded@ decoded) #Attempts to decode a QR code from common image formats (PNG/BMP/PPM/PBM/PGM/PAM/XBM/XPM/TGA) with image decode options from a span.
Parameters
- image System.ReadOnlySpan{System.Byte}
- imageOptions CodeGlyphX.ImageDecodeOptions
- options CodeGlyphX.QrPixelDecodeOptions
- decoded CodeGlyphX.QrDecoded@
TryDecodeImage(System.ReadOnlySpan{System.Byte} image, CodeGlyphX.ImageDecodeOptions imageOptions, CodeGlyphX.QrPixelDecodeOptions options, System.Threading.CancellationToken cancellationToken, CodeGlyphX.QrDecoded@ decoded) #Attempts to decode a QR code from common image formats (PNG/BMP/PPM/PBM/PGM/PAM/XBM/XPM/TGA) with image decode options and cancellation from a span.
Parameters
- image System.ReadOnlySpan{System.Byte}
- imageOptions CodeGlyphX.ImageDecodeOptions
- options CodeGlyphX.QrPixelDecodeOptions
- cancellationToken System.Threading.CancellationToken
- decoded CodeGlyphX.QrDecoded@
TryDecodeImage(System.ReadOnlySpan{System.Byte} image, CodeGlyphX.ImageDecodeOptions imageOptions, CodeGlyphX.QrDecoded@ decoded, CodeGlyphX.QrPixelDecodeInfo@ info, CodeGlyphX.QrPixelDecodeOptions options) #Attempts to decode a QR code from common image formats (PNG/BMP/PPM/PBM/PGM/PAM/XBM/XPM/TGA) with image decode options, diagnostics, and profile options from a span.
Parameters
- image System.ReadOnlySpan{System.Byte}
- imageOptions CodeGlyphX.ImageDecodeOptions
- decoded CodeGlyphX.QrDecoded@
- info CodeGlyphX.QrPixelDecodeInfo@
- options CodeGlyphX.QrPixelDecodeOptions
TryDecodeImage(System.ReadOnlySpan{System.Byte} image, CodeGlyphX.ImageDecodeOptions imageOptions, CodeGlyphX.QrDecoded@ decoded, CodeGlyphX.QrPixelDecodeInfo@ info, CodeGlyphX.QrPixelDecodeOptions options, System.Threading.CancellationToken cancellationToken) #Attempts to decode a QR code from common image formats (PNG/BMP/PPM/PBM/PGM/PAM/XBM/XPM/TGA) with image decode options, diagnostics, profile options, and cancellation from a span.
Parameters
- image System.ReadOnlySpan{System.Byte}
- imageOptions CodeGlyphX.ImageDecodeOptions
- decoded CodeGlyphX.QrDecoded@
- info CodeGlyphX.QrPixelDecodeInfo@
- options CodeGlyphX.QrPixelDecodeOptions
- cancellationToken System.Threading.CancellationToken
TryDecodeImage(System.ReadOnlySpan{System.Byte} image, CodeGlyphX.QrPixelDecodeOptions options, CodeGlyphX.QrDecoded@ decoded) #Attempts to decode a QR code from common image formats (PNG/BMP/PPM/PBM/PGM/PAM/XBM/XPM/TGA) from a span with profile options.
Parameters
- image System.ReadOnlySpan{System.Byte}
- options CodeGlyphX.QrPixelDecodeOptions
- decoded CodeGlyphX.QrDecoded@
TryDecodeImage(System.ReadOnlySpan{System.Byte} image, CodeGlyphX.QrPixelDecodeOptions options, System.Threading.CancellationToken cancellationToken, CodeGlyphX.QrDecoded@ decoded) #Attempts to decode a QR code from common image formats (PNG/BMP/PPM/PBM/PGM/PAM/XBM/XPM/TGA) from a span, with cancellation.
Parameters
- image System.ReadOnlySpan{System.Byte}
- options CodeGlyphX.QrPixelDecodeOptions
- cancellationToken System.Threading.CancellationToken
- decoded CodeGlyphX.QrDecoded@
TryDecodeImage(System.IO.Stream stream, CodeGlyphX.QrDecoded@ decoded) #Attempts to decode a QR code from an image stream (PNG/BMP/PPM/PBM/PGM/PAM/XBM/XPM/TGA).
Parameters
- stream System.IO.Stream
- decoded CodeGlyphX.QrDecoded@
TryDecodeImage(System.IO.Stream stream, CodeGlyphX.QrDecoded@ decoded, CodeGlyphX.QrPixelDecodeInfo@ info, CodeGlyphX.QrPixelDecodeOptions options) #Attempts to decode a QR code from an image stream (PNG/BMP/PPM/PBM/PGM/PAM/XBM/XPM/TGA), with diagnostics and profile options.
Parameters
- stream System.IO.Stream
- decoded CodeGlyphX.QrDecoded@
- info CodeGlyphX.QrPixelDecodeInfo@
- options CodeGlyphX.QrPixelDecodeOptions
TryDecodeImage(System.IO.Stream stream, CodeGlyphX.QrPixelDecodeOptions options, CodeGlyphX.QrDecoded@ decoded) #Attempts to decode a QR code from an image stream (PNG/BMP/PPM/PBM/PGM/PAM/XBM/XPM/TGA).
Parameters
- stream System.IO.Stream
- options CodeGlyphX.QrPixelDecodeOptions
- decoded CodeGlyphX.QrDecoded@
TryDecodeImage(System.IO.Stream stream, CodeGlyphX.ImageDecodeOptions imageOptions, CodeGlyphX.QrPixelDecodeOptions options, CodeGlyphX.QrDecoded@ decoded) #Attempts to decode a QR code from an image stream (PNG/BMP/PPM/PBM/PGM/PAM/XBM/XPM/TGA) with image decode options.
Parameters
- stream System.IO.Stream
- imageOptions CodeGlyphX.ImageDecodeOptions
- options CodeGlyphX.QrPixelDecodeOptions
- decoded CodeGlyphX.QrDecoded@
TryDecodeImage(System.IO.Stream stream, CodeGlyphX.ImageDecodeOptions imageOptions, CodeGlyphX.QrPixelDecodeOptions options, System.Threading.CancellationToken cancellationToken, CodeGlyphX.QrDecoded@ decoded) #Attempts to decode a QR code from an image stream (PNG/BMP/PPM/PBM/PGM/PAM/XBM/XPM/TGA) with image decode options and cancellation.
Parameters
- stream System.IO.Stream
- imageOptions CodeGlyphX.ImageDecodeOptions
- options CodeGlyphX.QrPixelDecodeOptions
- cancellationToken System.Threading.CancellationToken
- decoded CodeGlyphX.QrDecoded@
TryDecodeImage(System.IO.Stream stream, CodeGlyphX.ImageDecodeOptions imageOptions, CodeGlyphX.QrDecoded@ decoded, CodeGlyphX.QrPixelDecodeInfo@ info, CodeGlyphX.QrPixelDecodeOptions options) #Attempts to decode a QR code from an image stream (PNG/BMP/PPM/PBM/PGM/PAM/XBM/XPM/TGA) with image decode options, diagnostics, and profile options.
Parameters
- stream System.IO.Stream
- imageOptions CodeGlyphX.ImageDecodeOptions
- decoded CodeGlyphX.QrDecoded@
- info CodeGlyphX.QrPixelDecodeInfo@
- options CodeGlyphX.QrPixelDecodeOptions
TryDecodeImage(System.IO.Stream stream, CodeGlyphX.ImageDecodeOptions imageOptions, CodeGlyphX.QrDecoded@ decoded, CodeGlyphX.QrPixelDecodeInfo@ info, CodeGlyphX.QrPixelDecodeOptions options, System.Threading.CancellationToken cancellationToken) #Attempts to decode a QR code from an image stream (PNG/BMP/PPM/PBM/PGM/PAM/XBM/XPM/TGA) with image decode options, diagnostics, profile options, and cancellation.
Parameters
- stream System.IO.Stream
- imageOptions CodeGlyphX.ImageDecodeOptions
- decoded CodeGlyphX.QrDecoded@
- info CodeGlyphX.QrPixelDecodeInfo@
- options CodeGlyphX.QrPixelDecodeOptions
- cancellationToken System.Threading.CancellationToken