API Reference
QR
Simple QR helpers with fluent and static APIs.
Inheritance
- Object
- QR
Remarks
Use RenderExtras) to pick the output format by file extension.
Examples
using CodeGlyphX;
QR.Save("https://example.com", "qr.png");
Methods
public static String AsciiConsole(String payload, AsciiConsoleOptions consoleOptions = null, QrEasyOptions options = null) #StringRenders a QR code as console-friendly ASCII text with auto-fit.
Parameters
- payload System.String
- consoleOptions CodeGlyphX.Rendering.Ascii.AsciiConsoleOptions = null
- options CodeGlyphX.QrEasyOptions = null
public static String AsciiConsole(QrPayloadData payload, AsciiConsoleOptions consoleOptions = null, QrEasyOptions options = null) #StringRenders a QR code as console-friendly ASCII text with auto-fit for a payload with embedded defaults.
Parameters
- payload CodeGlyphX.Payloads.QrPayloadData
- consoleOptions CodeGlyphX.Rendering.Ascii.AsciiConsoleOptions = null
- options CodeGlyphX.QrEasyOptions = null
public static String AsciiConsoleAuto(String payload, QrPayloadDetectOptions detectOptions = null, AsciiConsoleOptions consoleOptions = null, QrEasyOptions options = null) #StringDetects a payload type and renders a QR code as console-friendly ASCII text with auto-fit.
Parameters
- payload System.String
- detectOptions CodeGlyphX.Payloads.QrPayloadDetectOptions = null
- consoleOptions CodeGlyphX.Rendering.Ascii.AsciiConsoleOptions = null
- options CodeGlyphX.QrEasyOptions = null
public static QrBuilder Create(String payload, QrEasyOptions options = null) #QrBuilderStarts a fluent QR builder for plain text.
Parameters
- payload System.String
- options CodeGlyphX.QrEasyOptions = null
public static QrBuilder Create(QrPayloadData payload, QrEasyOptions options = null) #QrBuilderStarts a fluent QR builder for a payload with embedded defaults.
Parameters
- payload CodeGlyphX.Payloads.QrPayloadData
- options CodeGlyphX.QrEasyOptions = null
public static QrDecoded DecodePngFile(String path) #QrDecodedDecodes a QR code from a PNG file.
Parameters
- path System.String
public static QrCode Encode(String payload, QrEasyOptions options = null) #QrCodeEncodes a payload into a QR code.
Parameters
- payload System.String
- options CodeGlyphX.QrEasyOptions = null
public static QrCode Encode(QrPayloadData payload, QrEasyOptions options = null) #QrCodeEncodes a payload with embedded defaults into a QR code.
Parameters
- payload CodeGlyphX.Payloads.QrPayloadData
- options CodeGlyphX.QrEasyOptions = null
public static QrCode EncodeAuto(String payload, QrPayloadDetectOptions detectOptions = null, QrEasyOptions options = null) #QrCodeDetects a payload type and encodes it into a QR code.
Parameters
- payload System.String
- detectOptions CodeGlyphX.Payloads.QrPayloadDetectOptions = null
- options CodeGlyphX.QrEasyOptions = null
public static QrParsedPayload ParsePayload(String payload) #QrParsedPayloadParses a raw QR payload into a structured representation.
Parameters
- payload System.String
public static String Save(String payload, String path, QrEasyOptions options = null, RenderExtras extras = null) #StringSaves a QR code to a file based on the file extension. Defaults to PNG when no extension is provided.
Parameters
- payload System.String
- path System.String
- options CodeGlyphX.QrEasyOptions = null
- extras CodeGlyphX.Rendering.RenderExtras = null
public static String Save(QrPayloadData payload, String path, QrEasyOptions options = null, RenderExtras extras = null) #StringSaves a QR code to a file based on the file extension. Defaults to PNG when no extension is provided.
Parameters
- payload CodeGlyphX.Payloads.QrPayloadData
- path System.String
- options CodeGlyphX.QrEasyOptions = null
- extras CodeGlyphX.Rendering.RenderExtras = null
public static String SaveAuto(String payload, String path, QrPayloadDetectOptions detectOptions = null, QrEasyOptions options = null, RenderExtras extras = null) #StringDetects a payload type and saves a QR code to a file based on the file extension. Defaults to PNG when no extension is provided.
Parameters
- payload System.String
- path System.String
- detectOptions CodeGlyphX.Payloads.QrPayloadDetectOptions = null
- options CodeGlyphX.QrEasyOptions = null
- extras CodeGlyphX.Rendering.RenderExtras = null
public static Boolean TryDecodeAllImage(Byte[] image, 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(Byte[] image, 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 options.
Parameters
- image System.Byte[]
- options CodeGlyphX.QrPixelDecodeOptions
- decoded CodeGlyphX.QrDecoded[]@
public static Boolean TryDecodeAllImage(Byte[] image, 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 options and cancellation.
Parameters
- image System.Byte[]
- options CodeGlyphX.QrPixelDecodeOptions
- cancellationToken System.Threading.CancellationToken
- decoded CodeGlyphX.QrDecoded[]@
public static Boolean TryDecodeAllImage(Byte[] image, 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(Byte[] image, 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[]@
public static Boolean TryDecodeAllImage(Stream stream, out QrDecoded[] decoded) #BooleanAttempts 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[]@
public static Boolean TryDecodeAllImage(Stream stream, QrPixelDecodeOptions options, out QrDecoded[] decoded) #BooleanAttempts to decode all QR codes from an image stream (PNG/BMP/PPM/PBM/PGM/PAM/XBM/XPM/TGA) with options.
Parameters
- stream System.IO.Stream
- options CodeGlyphX.QrPixelDecodeOptions
- decoded CodeGlyphX.QrDecoded[]@
public static Boolean TryDecodeAllImage(Stream stream, QrPixelDecodeOptions options, CancellationToken cancellationToken, out QrDecoded[] decoded) #BooleanAttempts to decode all QR codes from an image stream (PNG/BMP/PPM/PBM/PGM/PAM/XBM/XPM/TGA) with options and cancellation.
Parameters
- stream System.IO.Stream
- options CodeGlyphX.QrPixelDecodeOptions
- cancellationToken System.Threading.CancellationToken
- decoded CodeGlyphX.QrDecoded[]@
public static Boolean TryDecodeAllImage(Stream stream, ImageDecodeOptions imageOptions, QrPixelDecodeOptions options, out QrDecoded[] decoded) #BooleanAttempts 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[]@
public static Boolean TryDecodeAllImage(Stream stream, ImageDecodeOptions imageOptions, QrPixelDecodeOptions options, CancellationToken cancellationToken, out QrDecoded[] decoded) #BooleanAttempts 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 TryDecodeAllPng(Byte[] png, out QrDecoded[] decoded) #BooleanAttempts to decode all QR codes from a PNG byte array.
Parameters
- png System.Byte[]
- decoded CodeGlyphX.QrDecoded[]@
public static Boolean TryDecodeAllPng(Byte[] png, QrPixelDecodeOptions options, out QrDecoded[] decoded) #BooleanAttempts to decode all QR codes from a PNG byte array with options.
Parameters
- png System.Byte[]
- options CodeGlyphX.QrPixelDecodeOptions
- decoded CodeGlyphX.QrDecoded[]@
public static Boolean TryDecodeAllPng(Byte[] png, QrPixelDecodeOptions options, CancellationToken cancellationToken, out QrDecoded[] decoded) #BooleanAttempts to decode all QR codes from a PNG byte array with options and cancellation.
Parameters
- png System.Byte[]
- options CodeGlyphX.QrPixelDecodeOptions
- cancellationToken System.Threading.CancellationToken
- decoded CodeGlyphX.QrDecoded[]@
public static Boolean TryDecodeAllPng(Byte[] png, ImageDecodeOptions imageOptions, QrPixelDecodeOptions options, out QrDecoded[] decoded) #BooleanAttempts to decode all QR codes from a PNG byte array with image decode options.
Parameters
- png System.Byte[]
- imageOptions CodeGlyphX.ImageDecodeOptions
- options CodeGlyphX.QrPixelDecodeOptions
- decoded CodeGlyphX.QrDecoded[]@
public static Boolean TryDecodeAllPng(Byte[] png, ImageDecodeOptions imageOptions, QrPixelDecodeOptions options, CancellationToken cancellationToken, out QrDecoded[] decoded) #BooleanAttempts to decode all QR codes from a PNG byte array with image decode options and cancellation.
Parameters
- png System.Byte[]
- imageOptions CodeGlyphX.ImageDecodeOptions
- options CodeGlyphX.QrPixelDecodeOptions
- cancellationToken System.Threading.CancellationToken
- decoded CodeGlyphX.QrDecoded[]@
public static Boolean TryDecodeAllPng(Stream stream, out QrDecoded[] decoded) #BooleanAttempts to decode all QR codes from a PNG stream.
Parameters
- stream System.IO.Stream
- decoded CodeGlyphX.QrDecoded[]@
public static Boolean TryDecodeAllPng(Stream stream, QrPixelDecodeOptions options, CancellationToken cancellationToken, out QrDecoded[] decoded) #BooleanAttempts to decode all QR codes from a PNG stream with options and cancellation.
Parameters
- stream System.IO.Stream
- options CodeGlyphX.QrPixelDecodeOptions
- cancellationToken System.Threading.CancellationToken
- decoded CodeGlyphX.QrDecoded[]@
public static Boolean TryDecodeAllPngFile(String path, out QrDecoded[] decoded) #BooleanAttempts to decode all QR codes from a PNG file.
Parameters
- path System.String
- decoded CodeGlyphX.QrDecoded[]@
public static Boolean TryDecodeAllPngFile(String path, QrPixelDecodeOptions options, CancellationToken cancellationToken, out QrDecoded[] decoded) #BooleanAttempts to decode all QR codes from a PNG file with options and cancellation.
Parameters
- path System.String
- options CodeGlyphX.QrPixelDecodeOptions
- cancellationToken System.Threading.CancellationToken
- decoded CodeGlyphX.QrDecoded[]@
public static Boolean TryDecodeAllPngFile(String path, ImageDecodeOptions imageOptions, QrPixelDecodeOptions options, out QrDecoded[] decoded) #BooleanAttempts to decode all QR codes from a PNG file with image decode options.
Parameters
- path System.String
- imageOptions CodeGlyphX.ImageDecodeOptions
- options CodeGlyphX.QrPixelDecodeOptions
- decoded CodeGlyphX.QrDecoded[]@
public static Boolean TryDecodeAllPngFile(String path, ImageDecodeOptions imageOptions, QrPixelDecodeOptions options, CancellationToken cancellationToken, out QrDecoded[] decoded) #BooleanAttempts to decode all QR codes from a PNG file with image decode options and cancellation.
Parameters
- path System.String
- imageOptions CodeGlyphX.ImageDecodeOptions
- options CodeGlyphX.QrPixelDecodeOptions
- cancellationToken System.Threading.CancellationToken
- decoded CodeGlyphX.QrDecoded[]@
public static Boolean TryDecodeImage(Byte[] image, 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(Byte[] image, 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 options.
Parameters
- image System.Byte[]
- options CodeGlyphX.QrPixelDecodeOptions
- decoded CodeGlyphX.QrDecoded@
public static Boolean TryDecodeImage(Byte[] image, QrPixelDecodeOptions options, CancellationToken cancellationToken, out QrDecoded decoded) #BooleanAttempts to decode a QR code from common image formats (PNG/BMP/PPM/PBM/PGM/PAM/XBM/XPM/TGA) with options and cancellation.
Parameters
- image System.Byte[]
- options CodeGlyphX.QrPixelDecodeOptions
- cancellationToken System.Threading.CancellationToken
- decoded CodeGlyphX.QrDecoded@
public static Boolean TryDecodeImage(Byte[] image, 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 image decode options.
Parameters
- image System.Byte[]
- imageOptions CodeGlyphX.ImageDecodeOptions
- options CodeGlyphX.QrPixelDecodeOptions
- decoded CodeGlyphX.QrDecoded@
public static Boolean TryDecodeImage(Byte[] image, ImageDecodeOptions imageOptions, QrPixelDecodeOptions options, CancellationToken cancellationToken, out QrDecoded decoded) #BooleanAttempts 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@
public static Boolean TryDecodeImage(Byte[] image, 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 image decode options, diagnostics, and profile options.
Parameters
- image System.Byte[]
- imageOptions CodeGlyphX.ImageDecodeOptions
- decoded CodeGlyphX.QrDecoded@
- info CodeGlyphX.QrPixelDecodeInfo@
- options CodeGlyphX.QrPixelDecodeOptions = null
public static Boolean TryDecodeImage(Byte[] image, 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, out QrDecoded decoded) #BooleanAttempts 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@
public static Boolean TryDecodeImage(Stream stream, QrPixelDecodeOptions options, out QrDecoded decoded) #BooleanAttempts to decode a QR code from an image stream (PNG/BMP/PPM/PBM/PGM/PAM/XBM/XPM/TGA) with options.
Parameters
- stream System.IO.Stream
- options CodeGlyphX.QrPixelDecodeOptions
- decoded CodeGlyphX.QrDecoded@
public static Boolean TryDecodeImage(Stream stream, QrPixelDecodeOptions options, CancellationToken cancellationToken, out QrDecoded decoded) #BooleanAttempts to decode a QR code from an image stream (PNG/BMP/PPM/PBM/PGM/PAM/XBM/XPM/TGA) with options and cancellation.
Parameters
- stream System.IO.Stream
- options CodeGlyphX.QrPixelDecodeOptions
- cancellationToken System.Threading.CancellationToken
- decoded CodeGlyphX.QrDecoded@
public static Boolean TryDecodeImage(Stream stream, ImageDecodeOptions imageOptions, QrPixelDecodeOptions options, out QrDecoded decoded) #BooleanAttempts 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@
public static Boolean TryDecodeImage(Stream stream, ImageDecodeOptions imageOptions, QrPixelDecodeOptions options, CancellationToken cancellationToken, out QrDecoded decoded) #BooleanAttempts 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@
public static Boolean TryDecodeImage(Stream stream, ImageDecodeOptions imageOptions, out QrDecoded decoded, out QrPixelDecodeInfo info, QrPixelDecodeOptions options = null) #BooleanAttempts 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 = null
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 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
public static Boolean TryDecodePng(Byte[] png, out QrDecoded decoded) #BooleanAttempts to decode a QR code from a PNG byte array.
Parameters
- png System.Byte[]
- decoded CodeGlyphX.QrDecoded@
public static Boolean TryDecodePng(Byte[] png, QrPixelDecodeOptions options, out QrDecoded decoded) #BooleanAttempts to decode a QR code from a PNG byte array with options.
Parameters
- png System.Byte[]
- options CodeGlyphX.QrPixelDecodeOptions
- decoded CodeGlyphX.QrDecoded@
public static Boolean TryDecodePng(Byte[] png, QrPixelDecodeOptions options, CancellationToken cancellationToken, out QrDecoded decoded) #BooleanAttempts to decode a QR code from a PNG byte array with options and cancellation.
Parameters
- png System.Byte[]
- options CodeGlyphX.QrPixelDecodeOptions
- cancellationToken System.Threading.CancellationToken
- decoded CodeGlyphX.QrDecoded@
public static Boolean TryDecodePng(Byte[] png, ImageDecodeOptions imageOptions, QrPixelDecodeOptions options, out QrDecoded decoded) #BooleanAttempts to decode a QR code from a PNG byte array with image decode options.
Parameters
- png System.Byte[]
- imageOptions CodeGlyphX.ImageDecodeOptions
- options CodeGlyphX.QrPixelDecodeOptions
- decoded CodeGlyphX.QrDecoded@
public static Boolean TryDecodePng(Byte[] png, ImageDecodeOptions imageOptions, QrPixelDecodeOptions options, CancellationToken cancellationToken, out QrDecoded decoded) #BooleanAttempts to decode a QR code from a PNG byte array with image decode options and cancellation.
Parameters
- png System.Byte[]
- imageOptions CodeGlyphX.ImageDecodeOptions
- options CodeGlyphX.QrPixelDecodeOptions
- cancellationToken System.Threading.CancellationToken
- decoded CodeGlyphX.QrDecoded@
public static Boolean TryDecodePng(Byte[] png, ImageDecodeOptions imageOptions, out QrDecoded decoded, out QrPixelDecodeInfo info, QrPixelDecodeOptions options = null) #BooleanAttempts to decode a QR code from a PNG byte array with image decode options, diagnostics, and profile options.
Parameters
- png System.Byte[]
- imageOptions CodeGlyphX.ImageDecodeOptions
- decoded CodeGlyphX.QrDecoded@
- info CodeGlyphX.QrPixelDecodeInfo@
- options CodeGlyphX.QrPixelDecodeOptions = null
public static Boolean TryDecodePng(Byte[] png, ImageDecodeOptions imageOptions, out QrDecoded decoded, out QrPixelDecodeInfo info, QrPixelDecodeOptions options, CancellationToken cancellationToken) #BooleanAttempts to decode a QR code from a PNG byte array with image decode options, diagnostics, profile options, and cancellation.
Parameters
- png System.Byte[]
- imageOptions CodeGlyphX.ImageDecodeOptions
- decoded CodeGlyphX.QrDecoded@
- info CodeGlyphX.QrPixelDecodeInfo@
- options CodeGlyphX.QrPixelDecodeOptions
- cancellationToken System.Threading.CancellationToken
public static Boolean TryDecodePng(Stream stream, out QrDecoded decoded) #BooleanAttempts to decode a QR code from a PNG stream.
Parameters
- stream System.IO.Stream
- decoded CodeGlyphX.QrDecoded@
public static Boolean TryDecodePng(Stream stream, QrPixelDecodeOptions options, CancellationToken cancellationToken, out QrDecoded decoded) #BooleanAttempts to decode a QR code from a PNG stream with options and cancellation.
Parameters
- stream System.IO.Stream
- options CodeGlyphX.QrPixelDecodeOptions
- cancellationToken System.Threading.CancellationToken
- decoded CodeGlyphX.QrDecoded@
public static Boolean TryDecodePng(Stream stream, ImageDecodeOptions imageOptions, out QrDecoded decoded, out QrPixelDecodeInfo info, QrPixelDecodeOptions options = null) #BooleanAttempts to decode a QR code from a PNG stream 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 = null
public static Boolean TryDecodePng(Stream stream, ImageDecodeOptions imageOptions, out QrDecoded decoded, out QrPixelDecodeInfo info, QrPixelDecodeOptions options, CancellationToken cancellationToken) #BooleanAttempts to decode a QR code from a PNG stream 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
public static Boolean TryDecodePng(Stream stream, ImageDecodeOptions imageOptions, QrPixelDecodeOptions options, out QrDecoded decoded) #BooleanAttempts to decode a QR code from a PNG stream with image decode options.
Parameters
- stream System.IO.Stream
- imageOptions CodeGlyphX.ImageDecodeOptions
- options CodeGlyphX.QrPixelDecodeOptions
- decoded CodeGlyphX.QrDecoded@
public static Boolean TryDecodePng(Stream stream, ImageDecodeOptions imageOptions, QrPixelDecodeOptions options, CancellationToken cancellationToken, out QrDecoded decoded) #BooleanAttempts to decode a QR code from a PNG stream 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 TryDecodePngFile(String path, out QrDecoded decoded) #BooleanAttempts to decode a QR code from a PNG file.
Parameters
- path System.String
- decoded CodeGlyphX.QrDecoded@
public static Boolean TryDecodePngFile(String path, QrPixelDecodeOptions options, CancellationToken cancellationToken, out QrDecoded decoded) #BooleanAttempts to decode a QR code from a PNG file with options and cancellation.
Parameters
- path System.String
- options CodeGlyphX.QrPixelDecodeOptions
- cancellationToken System.Threading.CancellationToken
- decoded CodeGlyphX.QrDecoded@
public static Boolean TryDecodePngFile(String path, ImageDecodeOptions imageOptions, out QrDecoded decoded, out QrPixelDecodeInfo info, QrPixelDecodeOptions options = null) #BooleanAttempts to decode a QR code from a PNG file with image decode options, diagnostics, and profile options.
Parameters
- path System.String
- imageOptions CodeGlyphX.ImageDecodeOptions
- decoded CodeGlyphX.QrDecoded@
- info CodeGlyphX.QrPixelDecodeInfo@
- options CodeGlyphX.QrPixelDecodeOptions = null
public static Boolean TryDecodePngFile(String path, ImageDecodeOptions imageOptions, out QrDecoded decoded, out QrPixelDecodeInfo info, QrPixelDecodeOptions options, CancellationToken cancellationToken) #BooleanAttempts to decode a QR code from a PNG file with image decode options, diagnostics, profile options, and cancellation.
Parameters
- path System.String
- imageOptions CodeGlyphX.ImageDecodeOptions
- decoded CodeGlyphX.QrDecoded@
- info CodeGlyphX.QrPixelDecodeInfo@
- options CodeGlyphX.QrPixelDecodeOptions
- cancellationToken System.Threading.CancellationToken
public static Boolean TryDecodePngFile(String path, ImageDecodeOptions imageOptions, QrPixelDecodeOptions options, out QrDecoded decoded) #BooleanAttempts to decode a QR code from a PNG file with image decode options.
Parameters
- path System.String
- imageOptions CodeGlyphX.ImageDecodeOptions
- options CodeGlyphX.QrPixelDecodeOptions
- decoded CodeGlyphX.QrDecoded@
public static Boolean TryDecodePngFile(String path, ImageDecodeOptions imageOptions, QrPixelDecodeOptions options, CancellationToken cancellationToken, out QrDecoded decoded) #BooleanAttempts to decode a QR code from a PNG file with image decode options and cancellation.
Parameters
- path System.String
- imageOptions CodeGlyphX.ImageDecodeOptions
- options CodeGlyphX.QrPixelDecodeOptions
- cancellationToken System.Threading.CancellationToken
- decoded CodeGlyphX.QrDecoded@
public static Boolean TryParsePayload(String payload, out QrParsedPayload parsed) #BooleanAttempts to parse a raw QR payload into a structured representation.
Parameters
- payload System.String
- parsed CodeGlyphX.Payloads.QrParsedPayload@
public static Boolean TryParsePayload(String payload, QrPayloadParseOptions options, out QrParsedPayload parsed, out QrPayloadValidationResult validation) #BooleanAttempts to parse a raw QR payload into a structured representation with optional validation.
Parameters
- payload System.String
- options CodeGlyphX.Payloads.QrPayloadParseOptions
- parsed CodeGlyphX.Payloads.QrParsedPayload@
- validation CodeGlyphX.Payloads.QrPayloadValidationResult@