CodeGlyphX logo
CodeGlyphX

API Reference

Class

AztecCode

Namespace CodeGlyphX
Assembly CodeGlyphX
Modifiers static

Aztec code helpers.

Inheritance

  • Object
  • AztecCode

Examples


using CodeGlyphX;
AztecCode.Save("Ticket: CONF-2024", "ticket.png");
        

Methods

public static DecodeBatchResult<String> DecodeImageBatch(IEnumerable<Byte[]> images, ImageDecodeOptions options = null, CancellationToken cancellationToken = null) #
Returns: DecodeBatchResult<String>

Decodes a batch of Aztec images with shared settings and aggregated diagnostics.

Parameters

images System.Collections.Generic.IEnumerable{System.Byte[]} requiredposition: 0
options CodeGlyphX.ImageDecodeOptions = null optionalposition: 1
cancellationToken System.Threading.CancellationToken = null optionalposition: 2
DecodeImageResult 3 overloads
public static DecodeResult<String> DecodeImageResult(Byte[] image, ImageDecodeOptions options = null, CancellationToken cancellationToken = null) #
Returns: DecodeResult<String>

Decodes an Aztec symbol from common image formats (PNG/BMP/PPM/PBM/PGM/PAM/XBM/XPM/TGA) and returns diagnostics.

Parameters

image System.Byte[] requiredposition: 0
options CodeGlyphX.ImageDecodeOptions = null optionalposition: 1
cancellationToken System.Threading.CancellationToken = null optionalposition: 2
public static DecodeResult<String> DecodeImageResult(ReadOnlySpan<Byte> image, ImageDecodeOptions options = null, CancellationToken cancellationToken = null) #
Returns: DecodeResult<String>

Decodes an Aztec symbol 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} requiredposition: 0
options CodeGlyphX.ImageDecodeOptions = null optionalposition: 1
cancellationToken System.Threading.CancellationToken = null optionalposition: 2
public static DecodeResult<String> DecodeImageResult(Stream stream, ImageDecodeOptions options = null, CancellationToken cancellationToken = null) #
Returns: DecodeResult<String>

Decodes an Aztec symbol from an image stream (PNG/BMP/PPM/PBM/PGM/PAM/XBM/XPM/TGA) and returns diagnostics.

Parameters

stream System.IO.Stream requiredposition: 0
options CodeGlyphX.ImageDecodeOptions = null optionalposition: 1
cancellationToken System.Threading.CancellationToken = null optionalposition: 2
DecodePng 2 overloads
public static String DecodePng(Byte[] png) #
Returns: String

Decodes an Aztec symbol from PNG bytes.

Parameters

png System.Byte[] requiredposition: 0
public static String DecodePng(Stream stream) #
Returns: String

Decodes an Aztec symbol from a PNG stream.

Parameters

stream System.IO.Stream requiredposition: 0
public static String DecodePngFile(String path) #
Returns: String

Decodes an Aztec symbol from a PNG file.

Parameters

path System.String requiredposition: 0
Encode 2 overloads
public static BitMatrix Encode(String text, AztecEncodeOptions options = null) #
Returns: BitMatrix

Encodes a text payload as Aztec.

Parameters

text System.String requiredposition: 0
options CodeGlyphX.Aztec.AztecEncodeOptions = null optionalposition: 1
public static BitMatrix Encode(ReadOnlySpan<Byte> data, AztecEncodeOptions options = null) #
Returns: BitMatrix

Encodes binary payload as Aztec.

Parameters

data System.ReadOnlySpan{System.Byte} requiredposition: 0
options CodeGlyphX.Aztec.AztecEncodeOptions = null optionalposition: 1
Render 3 overloads
public static RenderedOutput Render(String text, OutputFormat format, AztecEncodeOptions encodeOptions = null, MatrixOptions renderOptions = null, RenderExtras extras = null) #
Returns: RenderedOutput

Renders an Aztec payload to the requested output format.

Parameters

text System.String requiredposition: 0
format CodeGlyphX.Rendering.OutputFormat requiredposition: 1
encodeOptions CodeGlyphX.Aztec.AztecEncodeOptions = null optionalposition: 2
renderOptions CodeGlyphX.MatrixOptions = null optionalposition: 3
extras CodeGlyphX.Rendering.RenderExtras = null optionalposition: 4
public static RenderedOutput Render(Byte[] data, OutputFormat format, AztecEncodeOptions encodeOptions = null, MatrixOptions renderOptions = null, RenderExtras extras = null) #
Returns: RenderedOutput

Renders an Aztec binary payload to the requested output format.

Parameters

data System.Byte[] requiredposition: 0
format CodeGlyphX.Rendering.OutputFormat requiredposition: 1
encodeOptions CodeGlyphX.Aztec.AztecEncodeOptions = null optionalposition: 2
renderOptions CodeGlyphX.MatrixOptions = null optionalposition: 3
extras CodeGlyphX.Rendering.RenderExtras = null optionalposition: 4
public static RenderedOutput Render(ReadOnlySpan<Byte> data, OutputFormat format, AztecEncodeOptions encodeOptions = null, MatrixOptions renderOptions = null, RenderExtras extras = null) #
Returns: RenderedOutput

Renders an Aztec binary payload to the requested output format.

Parameters

data System.ReadOnlySpan{System.Byte} requiredposition: 0
format CodeGlyphX.Rendering.OutputFormat requiredposition: 1
encodeOptions CodeGlyphX.Aztec.AztecEncodeOptions = null optionalposition: 2
renderOptions CodeGlyphX.MatrixOptions = null optionalposition: 3
extras CodeGlyphX.Rendering.RenderExtras = null optionalposition: 4
Save 3 overloads
public static String Save(String text, String path, AztecEncodeOptions encodeOptions = null, MatrixOptions renderOptions = null, RenderExtras extras = null) #
Returns: String

Saves Aztec to a file based on extension. Defaults to PNG when no extension is provided.

Parameters

text System.String requiredposition: 0
path System.String requiredposition: 1
encodeOptions CodeGlyphX.Aztec.AztecEncodeOptions = null optionalposition: 2
renderOptions CodeGlyphX.MatrixOptions = null optionalposition: 3
extras CodeGlyphX.Rendering.RenderExtras = null optionalposition: 4
public static String Save(Byte[] data, String path, AztecEncodeOptions encodeOptions = null, MatrixOptions renderOptions = null, RenderExtras extras = null) #
Returns: String

Saves an Aztec binary payload to a file based on extension. Defaults to PNG when no extension is provided.

Parameters

data System.Byte[] requiredposition: 0
path System.String requiredposition: 1
encodeOptions CodeGlyphX.Aztec.AztecEncodeOptions = null optionalposition: 2
renderOptions CodeGlyphX.MatrixOptions = null optionalposition: 3
extras CodeGlyphX.Rendering.RenderExtras = null optionalposition: 4
public static String Save(ReadOnlySpan<Byte> data, String path, AztecEncodeOptions encodeOptions = null, MatrixOptions renderOptions = null, RenderExtras extras = null) #
Returns: String

Saves an Aztec binary payload to a file based on extension. Defaults to PNG when no extension is provided.

Parameters

data System.ReadOnlySpan{System.Byte} requiredposition: 0
path System.String requiredposition: 1
encodeOptions CodeGlyphX.Aztec.AztecEncodeOptions = null optionalposition: 2
renderOptions CodeGlyphX.MatrixOptions = null optionalposition: 3
extras CodeGlyphX.Rendering.RenderExtras = null optionalposition: 4
TryDecode 12 overloads
public static Boolean TryDecode(BitMatrix modules, out String value) #
Returns: Boolean

Attempts to decode an Aztec symbol from a module matrix.

Parameters

modules CodeGlyphX.BitMatrix requiredposition: 0
value System.String@ requiredposition: 1
public static Boolean TryDecode(BitMatrix modules, CancellationToken cancellationToken, out String value) #
Returns: Boolean

Attempts to decode an Aztec symbol from a module matrix, with cancellation.

Parameters

modules CodeGlyphX.BitMatrix requiredposition: 0
cancellationToken System.Threading.CancellationToken requiredposition: 1
value System.String@ requiredposition: 2
public static Boolean TryDecode(BitMatrix modules, out String value, out AztecDecodeDiagnostics diagnostics) #
Returns: Boolean

Attempts to decode an Aztec symbol from a module matrix, with diagnostics.

Parameters

modules CodeGlyphX.BitMatrix requiredposition: 0
value System.String@ requiredposition: 1
diagnostics CodeGlyphX.AztecDecodeDiagnostics@ requiredposition: 2
public static Boolean TryDecode(BitMatrix modules, CancellationToken cancellationToken, out String value, out AztecDecodeDiagnostics diagnostics) #
Returns: Boolean

Attempts to decode an Aztec symbol from a module matrix, with cancellation and diagnostics.

Parameters

modules CodeGlyphX.BitMatrix requiredposition: 0
cancellationToken System.Threading.CancellationToken requiredposition: 1
value System.String@ requiredposition: 2
diagnostics CodeGlyphX.AztecDecodeDiagnostics@ requiredposition: 3
public static Boolean TryDecode(Byte[] pixels, Int32 width, Int32 height, Int32 stride, PixelFormat format, out String value) #
Returns: Boolean

Attempts to decode an Aztec symbol from raw pixels.

Parameters

pixels System.Byte[] requiredposition: 0
width System.Int32 requiredposition: 1
height System.Int32 requiredposition: 2
stride System.Int32 requiredposition: 3
format CodeGlyphX.PixelFormat requiredposition: 4
value System.String@ requiredposition: 5
public static Boolean TryDecode(Byte[] pixels, Int32 width, Int32 height, Int32 stride, PixelFormat format, CancellationToken cancellationToken, out String value) #
Returns: Boolean

Attempts to decode an Aztec symbol from raw pixels, with cancellation.

Parameters

pixels System.Byte[] requiredposition: 0
width System.Int32 requiredposition: 1
height System.Int32 requiredposition: 2
stride System.Int32 requiredposition: 3
format CodeGlyphX.PixelFormat requiredposition: 4
cancellationToken System.Threading.CancellationToken requiredposition: 5
value System.String@ requiredposition: 6
public static Boolean TryDecode(Byte[] pixels, Int32 width, Int32 height, Int32 stride, PixelFormat format, out String value, out AztecDecodeDiagnostics diagnostics) #
Returns: Boolean

Attempts to decode an Aztec symbol from raw pixels, with diagnostics.

Parameters

pixels System.Byte[] requiredposition: 0
width System.Int32 requiredposition: 1
height System.Int32 requiredposition: 2
stride System.Int32 requiredposition: 3
format CodeGlyphX.PixelFormat requiredposition: 4
value System.String@ requiredposition: 5
diagnostics CodeGlyphX.AztecDecodeDiagnostics@ requiredposition: 6
public static Boolean TryDecode(Byte[] pixels, Int32 width, Int32 height, Int32 stride, PixelFormat format, CancellationToken cancellationToken, out String value, out AztecDecodeDiagnostics diagnostics) #
Returns: Boolean

Attempts to decode an Aztec symbol from raw pixels, with cancellation and diagnostics.

Parameters

pixels System.Byte[] requiredposition: 0
width System.Int32 requiredposition: 1
height System.Int32 requiredposition: 2
stride System.Int32 requiredposition: 3
format CodeGlyphX.PixelFormat requiredposition: 4
cancellationToken System.Threading.CancellationToken requiredposition: 5
value System.String@ requiredposition: 6
diagnostics CodeGlyphX.AztecDecodeDiagnostics@ requiredposition: 7
public static Boolean TryDecode(ReadOnlySpan<Byte> pixels, Int32 width, Int32 height, Int32 stride, PixelFormat format, out String value) #
Returns: Boolean

Attempts to decode an Aztec symbol from raw pixels.

Parameters

pixels System.ReadOnlySpan{System.Byte} requiredposition: 0
width System.Int32 requiredposition: 1
height System.Int32 requiredposition: 2
stride System.Int32 requiredposition: 3
format CodeGlyphX.PixelFormat requiredposition: 4
value System.String@ requiredposition: 5
public static Boolean TryDecode(ReadOnlySpan<Byte> pixels, Int32 width, Int32 height, Int32 stride, PixelFormat format, CancellationToken cancellationToken, out String value) #
Returns: Boolean

Attempts to decode an Aztec symbol from raw pixels, with cancellation.

Parameters

pixels System.ReadOnlySpan{System.Byte} requiredposition: 0
width System.Int32 requiredposition: 1
height System.Int32 requiredposition: 2
stride System.Int32 requiredposition: 3
format CodeGlyphX.PixelFormat requiredposition: 4
cancellationToken System.Threading.CancellationToken requiredposition: 5
value System.String@ requiredposition: 6
public static Boolean TryDecode(ReadOnlySpan<Byte> pixels, Int32 width, Int32 height, Int32 stride, PixelFormat format, out String value, out AztecDecodeDiagnostics diagnostics) #
Returns: Boolean

Attempts to decode an Aztec symbol from raw pixels, with diagnostics.

Parameters

pixels System.ReadOnlySpan{System.Byte} requiredposition: 0
width System.Int32 requiredposition: 1
height System.Int32 requiredposition: 2
stride System.Int32 requiredposition: 3
format CodeGlyphX.PixelFormat requiredposition: 4
value System.String@ requiredposition: 5
diagnostics CodeGlyphX.AztecDecodeDiagnostics@ requiredposition: 6
public static Boolean TryDecode(ReadOnlySpan<Byte> pixels, Int32 width, Int32 height, Int32 stride, PixelFormat format, CancellationToken cancellationToken, out String value, out AztecDecodeDiagnostics diagnostics) #
Returns: Boolean

Attempts to decode an Aztec symbol from raw pixels, with cancellation and diagnostics.

Parameters

pixels System.ReadOnlySpan{System.Byte} requiredposition: 0
width System.Int32 requiredposition: 1
height System.Int32 requiredposition: 2
stride System.Int32 requiredposition: 3
format CodeGlyphX.PixelFormat requiredposition: 4
cancellationToken System.Threading.CancellationToken requiredposition: 5
value System.String@ requiredposition: 6
diagnostics CodeGlyphX.AztecDecodeDiagnostics@ requiredposition: 7
TryDecodeAllImage 6 overloads
public static Boolean TryDecodeAllImage(Byte[] image, out String[] texts) #
Returns: Boolean

Attempts to decode all Aztec symbols from common image formats.

Parameters

image System.Byte[] requiredposition: 0
texts System.String[]@ requiredposition: 1
public static Boolean TryDecodeAllImage(Byte[] image, ImageDecodeOptions options, out String[] texts) #
Returns: Boolean

Attempts to decode all Aztec symbols from common image formats with image decode options.

Parameters

image System.Byte[] requiredposition: 0
options CodeGlyphX.ImageDecodeOptions requiredposition: 1
texts System.String[]@ requiredposition: 2
public static Boolean TryDecodeAllImage(Byte[] image, ImageDecodeOptions options, CancellationToken cancellationToken, out String[] texts) #
Returns: Boolean

Attempts to decode all Aztec symbols from common image formats with image decode options, with cancellation.

Parameters

image System.Byte[] requiredposition: 0
options CodeGlyphX.ImageDecodeOptions requiredposition: 1
cancellationToken System.Threading.CancellationToken requiredposition: 2
texts System.String[]@ requiredposition: 3
public static Boolean TryDecodeAllImage(Stream stream, out String[] texts) #
Returns: Boolean

Attempts to decode all Aztec symbols from an image stream.

Parameters

stream System.IO.Stream requiredposition: 0
texts System.String[]@ requiredposition: 1
public static Boolean TryDecodeAllImage(Stream stream, ImageDecodeOptions options, out String[] texts) #
Returns: Boolean

Attempts to decode all Aztec symbols from an image stream with image decode options.

Parameters

stream System.IO.Stream requiredposition: 0
options CodeGlyphX.ImageDecodeOptions requiredposition: 1
texts System.String[]@ requiredposition: 2
public static Boolean TryDecodeAllImage(Stream stream, ImageDecodeOptions options, CancellationToken cancellationToken, out String[] texts) #
Returns: Boolean

Attempts to decode all Aztec symbols from an image stream with image decode options, with cancellation.

Parameters

stream System.IO.Stream requiredposition: 0
options CodeGlyphX.ImageDecodeOptions requiredposition: 1
cancellationToken System.Threading.CancellationToken requiredposition: 2
texts System.String[]@ requiredposition: 3
TryDecodeImage 21 overloads
public static Boolean TryDecodeImage(Byte[] image, out String text) #
Returns: Boolean

Attempts to decode an Aztec symbol from common image formats (PNG/BMP/PPM/PBM/PGM/PAM/XBM/XPM/TGA).

Parameters

image System.Byte[] requiredposition: 0
text System.String@ requiredposition: 1
public static Boolean TryDecodeImage(Byte[] image, CancellationToken cancellationToken, out String text) #
Returns: Boolean

Attempts to decode an Aztec symbol from common image formats (PNG/BMP/PPM/PBM/PGM/PAM/XBM/XPM/TGA), with cancellation.

Parameters

image System.Byte[] requiredposition: 0
cancellationToken System.Threading.CancellationToken requiredposition: 1
text System.String@ requiredposition: 2
public static Boolean TryDecodeImage(Byte[] image, ImageDecodeOptions options, out String text) #
Returns: Boolean

Attempts to decode an Aztec symbol from common image formats (PNG/BMP/PPM/PBM/PGM/PAM/XBM/XPM/TGA) with image decode options.

Parameters

image System.Byte[] requiredposition: 0
options CodeGlyphX.ImageDecodeOptions requiredposition: 1
text System.String@ requiredposition: 2
public static Boolean TryDecodeImage(Byte[] image, ImageDecodeOptions options, CancellationToken cancellationToken, out String text) #
Returns: Boolean

Attempts to decode an Aztec symbol from common image formats (PNG/BMP/PPM/PBM/PGM/PAM/XBM/XPM/TGA) with image decode options, with cancellation.

Parameters

image System.Byte[] requiredposition: 0
options CodeGlyphX.ImageDecodeOptions requiredposition: 1
cancellationToken System.Threading.CancellationToken requiredposition: 2
text System.String@ requiredposition: 3
public static Boolean TryDecodeImage(Byte[] image, out String text, out AztecDecodeDiagnostics diagnostics) #
Returns: Boolean

Attempts to decode an Aztec symbol from common image formats, with diagnostics.

Parameters

image System.Byte[] requiredposition: 0
text System.String@ requiredposition: 1
diagnostics CodeGlyphX.AztecDecodeDiagnostics@ requiredposition: 2
public static Boolean TryDecodeImage(Byte[] image, ImageDecodeOptions options, out String text, out AztecDecodeDiagnostics diagnostics) #
Returns: Boolean

Attempts to decode an Aztec symbol from common image formats with image decode options, with diagnostics.

Parameters

image System.Byte[] requiredposition: 0
options CodeGlyphX.ImageDecodeOptions requiredposition: 1
text System.String@ requiredposition: 2
diagnostics CodeGlyphX.AztecDecodeDiagnostics@ requiredposition: 3
public static Boolean TryDecodeImage(Byte[] image, ImageDecodeOptions options, CancellationToken cancellationToken, out String text, out AztecDecodeDiagnostics diagnostics) #
Returns: Boolean

Attempts to decode an Aztec symbol from common image formats with image decode options, cancellation, and diagnostics.

Parameters

image System.Byte[] requiredposition: 0
options CodeGlyphX.ImageDecodeOptions requiredposition: 1
cancellationToken System.Threading.CancellationToken requiredposition: 2
text System.String@ requiredposition: 3
diagnostics CodeGlyphX.AztecDecodeDiagnostics@ requiredposition: 4
public static Boolean TryDecodeImage(ReadOnlySpan<Byte> image, out String text) #
Returns: Boolean

Attempts to decode an Aztec symbol from common image formats in a span.

Parameters

image System.ReadOnlySpan{System.Byte} requiredposition: 0
text System.String@ requiredposition: 1
public static Boolean TryDecodeImage(ReadOnlySpan<Byte> image, CancellationToken cancellationToken, out String text) #
Returns: Boolean

Attempts to decode an Aztec symbol from common image formats in a span, with cancellation.

Parameters

image System.ReadOnlySpan{System.Byte} requiredposition: 0
cancellationToken System.Threading.CancellationToken requiredposition: 1
text System.String@ requiredposition: 2
public static Boolean TryDecodeImage(ReadOnlySpan<Byte> image, ImageDecodeOptions options, out String text) #
Returns: Boolean

Attempts to decode an Aztec symbol from common image formats in a span with image decode options.

Parameters

image System.ReadOnlySpan{System.Byte} requiredposition: 0
options CodeGlyphX.ImageDecodeOptions requiredposition: 1
text System.String@ requiredposition: 2
public static Boolean TryDecodeImage(ReadOnlySpan<Byte> image, ImageDecodeOptions options, CancellationToken cancellationToken, out String text) #
Returns: Boolean

Attempts to decode an Aztec symbol from common image formats in a span with image decode options, with cancellation.

Parameters

image System.ReadOnlySpan{System.Byte} requiredposition: 0
options CodeGlyphX.ImageDecodeOptions requiredposition: 1
cancellationToken System.Threading.CancellationToken requiredposition: 2
text System.String@ requiredposition: 3
public static Boolean TryDecodeImage(ReadOnlySpan<Byte> image, out String text, out AztecDecodeDiagnostics diagnostics) #
Returns: Boolean

Attempts to decode an Aztec symbol from common image formats in a span, with diagnostics.

Parameters

image System.ReadOnlySpan{System.Byte} requiredposition: 0
text System.String@ requiredposition: 1
diagnostics CodeGlyphX.AztecDecodeDiagnostics@ requiredposition: 2
public static Boolean TryDecodeImage(ReadOnlySpan<Byte> image, ImageDecodeOptions options, out String text, out AztecDecodeDiagnostics diagnostics) #
Returns: Boolean

Attempts to decode an Aztec symbol from common image formats in a span with image decode options, with diagnostics.

Parameters

image System.ReadOnlySpan{System.Byte} requiredposition: 0
options CodeGlyphX.ImageDecodeOptions requiredposition: 1
text System.String@ requiredposition: 2
diagnostics CodeGlyphX.AztecDecodeDiagnostics@ requiredposition: 3
public static Boolean TryDecodeImage(ReadOnlySpan<Byte> image, ImageDecodeOptions options, CancellationToken cancellationToken, out String text, out AztecDecodeDiagnostics diagnostics) #
Returns: Boolean

Attempts to decode an Aztec symbol from common image formats in a span with image decode options, cancellation, and diagnostics.

Parameters

image System.ReadOnlySpan{System.Byte} requiredposition: 0
options CodeGlyphX.ImageDecodeOptions requiredposition: 1
cancellationToken System.Threading.CancellationToken requiredposition: 2
text System.String@ requiredposition: 3
diagnostics CodeGlyphX.AztecDecodeDiagnostics@ requiredposition: 4
public static Boolean TryDecodeImage(Stream stream, out String text) #
Returns: Boolean

Attempts to decode an Aztec symbol from an image stream (PNG/BMP/PPM/PBM/PGM/PAM/XBM/XPM/TGA).

Parameters

stream System.IO.Stream requiredposition: 0
text System.String@ requiredposition: 1
public static Boolean TryDecodeImage(Stream stream, CancellationToken cancellationToken, out String text) #
Returns: Boolean

Attempts to decode an Aztec symbol from an image stream (PNG/BMP/PPM/PBM/PGM/PAM/XBM/XPM/TGA), with cancellation.

Parameters

stream System.IO.Stream requiredposition: 0
cancellationToken System.Threading.CancellationToken requiredposition: 1
text System.String@ requiredposition: 2
public static Boolean TryDecodeImage(Stream stream, ImageDecodeOptions options, out String text) #
Returns: Boolean

Attempts to decode an Aztec symbol from an image stream (PNG/BMP/PPM/PBM/PGM/PAM/XBM/XPM/TGA) with image decode options.

Parameters

stream System.IO.Stream requiredposition: 0
options CodeGlyphX.ImageDecodeOptions requiredposition: 1
text System.String@ requiredposition: 2
public static Boolean TryDecodeImage(Stream stream, ImageDecodeOptions options, CancellationToken cancellationToken, out String text) #
Returns: Boolean

Attempts to decode an Aztec symbol from an image stream (PNG/BMP/PPM/PBM/PGM/PAM/XBM/XPM/TGA) with image decode options, with cancellation.

Parameters

stream System.IO.Stream requiredposition: 0
options CodeGlyphX.ImageDecodeOptions requiredposition: 1
cancellationToken System.Threading.CancellationToken requiredposition: 2
text System.String@ requiredposition: 3
public static Boolean TryDecodeImage(Stream stream, out String text, out AztecDecodeDiagnostics diagnostics) #
Returns: Boolean

Attempts to decode an Aztec symbol from an image stream, with diagnostics.

Parameters

stream System.IO.Stream requiredposition: 0
text System.String@ requiredposition: 1
diagnostics CodeGlyphX.AztecDecodeDiagnostics@ requiredposition: 2
public static Boolean TryDecodeImage(Stream stream, ImageDecodeOptions options, out String text, out AztecDecodeDiagnostics diagnostics) #
Returns: Boolean

Attempts to decode an Aztec symbol from an image stream with image decode options, with diagnostics.

Parameters

stream System.IO.Stream requiredposition: 0
options CodeGlyphX.ImageDecodeOptions requiredposition: 1
text System.String@ requiredposition: 2
diagnostics CodeGlyphX.AztecDecodeDiagnostics@ requiredposition: 3
public static Boolean TryDecodeImage(Stream stream, ImageDecodeOptions options, CancellationToken cancellationToken, out String text, out AztecDecodeDiagnostics diagnostics) #
Returns: Boolean

Attempts to decode an Aztec symbol from an image stream with image decode options, cancellation, and diagnostics.

Parameters

stream System.IO.Stream requiredposition: 0
options CodeGlyphX.ImageDecodeOptions requiredposition: 1
cancellationToken System.Threading.CancellationToken requiredposition: 2
text System.String@ requiredposition: 3
diagnostics CodeGlyphX.AztecDecodeDiagnostics@ requiredposition: 4
TryDecodePng 21 overloads
public static Boolean TryDecodePng(Byte[] png, out String text) #
Returns: Boolean

Attempts to decode an Aztec symbol from PNG bytes.

Parameters

png System.Byte[] requiredposition: 0
text System.String@ requiredposition: 1
public static Boolean TryDecodePng(Byte[] png, CancellationToken cancellationToken, out String text) #
Returns: Boolean

Attempts to decode an Aztec symbol from PNG bytes, with cancellation.

Parameters

png System.Byte[] requiredposition: 0
cancellationToken System.Threading.CancellationToken requiredposition: 1
text System.String@ requiredposition: 2
public static Boolean TryDecodePng(Byte[] png, ImageDecodeOptions options, out String text) #
Returns: Boolean

Attempts to decode an Aztec symbol from PNG bytes with image decode options.

Parameters

png System.Byte[] requiredposition: 0
options CodeGlyphX.ImageDecodeOptions requiredposition: 1
text System.String@ requiredposition: 2
public static Boolean TryDecodePng(Byte[] png, ImageDecodeOptions options, CancellationToken cancellationToken, out String text) #
Returns: Boolean

Attempts to decode an Aztec symbol from PNG bytes with image decode options, with cancellation.

Parameters

png System.Byte[] requiredposition: 0
options CodeGlyphX.ImageDecodeOptions requiredposition: 1
cancellationToken System.Threading.CancellationToken requiredposition: 2
text System.String@ requiredposition: 3
public static Boolean TryDecodePng(ReadOnlySpan<Byte> png, out String text) #
Returns: Boolean

Attempts to decode an Aztec symbol from PNG bytes in a span.

Parameters

png System.ReadOnlySpan{System.Byte} requiredposition: 0
text System.String@ requiredposition: 1
public static Boolean TryDecodePng(ReadOnlySpan<Byte> png, CancellationToken cancellationToken, out String text) #
Returns: Boolean

Attempts to decode an Aztec symbol from PNG bytes in a span, with cancellation.

Parameters

png System.ReadOnlySpan{System.Byte} requiredposition: 0
cancellationToken System.Threading.CancellationToken requiredposition: 1
text System.String@ requiredposition: 2
public static Boolean TryDecodePng(ReadOnlySpan<Byte> png, ImageDecodeOptions options, out String text) #
Returns: Boolean

Attempts to decode an Aztec symbol from PNG bytes in a span with image decode options.

Parameters

png System.ReadOnlySpan{System.Byte} requiredposition: 0
options CodeGlyphX.ImageDecodeOptions requiredposition: 1
text System.String@ requiredposition: 2
public static Boolean TryDecodePng(ReadOnlySpan<Byte> png, ImageDecodeOptions options, CancellationToken cancellationToken, out String text) #
Returns: Boolean

Attempts to decode an Aztec symbol from PNG bytes in a span with image decode options, with cancellation.

Parameters

png System.ReadOnlySpan{System.Byte} requiredposition: 0
options CodeGlyphX.ImageDecodeOptions requiredposition: 1
cancellationToken System.Threading.CancellationToken requiredposition: 2
text System.String@ requiredposition: 3
public static Boolean TryDecodePng(Byte[] png, out String text, out AztecDecodeDiagnostics diagnostics) #
Returns: Boolean

Attempts to decode an Aztec symbol from PNG bytes, with diagnostics.

Parameters

png System.Byte[] requiredposition: 0
text System.String@ requiredposition: 1
diagnostics CodeGlyphX.AztecDecodeDiagnostics@ requiredposition: 2
public static Boolean TryDecodePng(Byte[] png, ImageDecodeOptions options, out String text, out AztecDecodeDiagnostics diagnostics) #
Returns: Boolean

Attempts to decode an Aztec symbol from PNG bytes with image decode options, with diagnostics.

Parameters

png System.Byte[] requiredposition: 0
options CodeGlyphX.ImageDecodeOptions requiredposition: 1
text System.String@ requiredposition: 2
diagnostics CodeGlyphX.AztecDecodeDiagnostics@ requiredposition: 3
public static Boolean TryDecodePng(Byte[] png, ImageDecodeOptions options, CancellationToken cancellationToken, out String text, out AztecDecodeDiagnostics diagnostics) #
Returns: Boolean

Attempts to decode an Aztec symbol from PNG bytes with image decode options, cancellation, and diagnostics.

Parameters

png System.Byte[] requiredposition: 0
options CodeGlyphX.ImageDecodeOptions requiredposition: 1
cancellationToken System.Threading.CancellationToken requiredposition: 2
text System.String@ requiredposition: 3
diagnostics CodeGlyphX.AztecDecodeDiagnostics@ requiredposition: 4
public static Boolean TryDecodePng(ReadOnlySpan<Byte> png, out String text, out AztecDecodeDiagnostics diagnostics) #
Returns: Boolean

Attempts to decode an Aztec symbol from PNG bytes in a span, with diagnostics.

Parameters

png System.ReadOnlySpan{System.Byte} requiredposition: 0
text System.String@ requiredposition: 1
diagnostics CodeGlyphX.AztecDecodeDiagnostics@ requiredposition: 2
public static Boolean TryDecodePng(ReadOnlySpan<Byte> png, ImageDecodeOptions options, out String text, out AztecDecodeDiagnostics diagnostics) #
Returns: Boolean

Attempts to decode an Aztec symbol from PNG bytes in a span with image decode options, with diagnostics.

Parameters

png System.ReadOnlySpan{System.Byte} requiredposition: 0
options CodeGlyphX.ImageDecodeOptions requiredposition: 1
text System.String@ requiredposition: 2
diagnostics CodeGlyphX.AztecDecodeDiagnostics@ requiredposition: 3
public static Boolean TryDecodePng(ReadOnlySpan<Byte> png, ImageDecodeOptions options, CancellationToken cancellationToken, out String text, out AztecDecodeDiagnostics diagnostics) #
Returns: Boolean

Attempts to decode an Aztec symbol from PNG bytes in a span with image decode options, cancellation, and diagnostics.

Parameters

png System.ReadOnlySpan{System.Byte} requiredposition: 0
options CodeGlyphX.ImageDecodeOptions requiredposition: 1
cancellationToken System.Threading.CancellationToken requiredposition: 2
text System.String@ requiredposition: 3
diagnostics CodeGlyphX.AztecDecodeDiagnostics@ requiredposition: 4
public static Boolean TryDecodePng(Stream stream, out String text) #
Returns: Boolean

Attempts to decode an Aztec symbol from a PNG stream.

Parameters

stream System.IO.Stream requiredposition: 0
text System.String@ requiredposition: 1
public static Boolean TryDecodePng(Stream stream, ImageDecodeOptions options, out String text) #
Returns: Boolean

Attempts to decode an Aztec symbol from a PNG stream with image decode options.

Parameters

stream System.IO.Stream requiredposition: 0
options CodeGlyphX.ImageDecodeOptions requiredposition: 1
text System.String@ requiredposition: 2
public static Boolean TryDecodePng(Stream stream, out String text, out AztecDecodeDiagnostics diagnostics) #
Returns: Boolean

Attempts to decode an Aztec symbol from a PNG stream, with diagnostics.

Parameters

stream System.IO.Stream requiredposition: 0
text System.String@ requiredposition: 1
diagnostics CodeGlyphX.AztecDecodeDiagnostics@ requiredposition: 2
public static Boolean TryDecodePng(Stream stream, ImageDecodeOptions options, out String text, out AztecDecodeDiagnostics diagnostics) #
Returns: Boolean

Attempts to decode an Aztec symbol from a PNG stream with image decode options, with diagnostics.

Parameters

stream System.IO.Stream requiredposition: 0
options CodeGlyphX.ImageDecodeOptions requiredposition: 1
text System.String@ requiredposition: 2
diagnostics CodeGlyphX.AztecDecodeDiagnostics@ requiredposition: 3
public static Boolean TryDecodePng(Stream stream, CancellationToken cancellationToken, out String text) #
Returns: Boolean

Attempts to decode an Aztec symbol from a PNG stream, with cancellation.

Parameters

stream System.IO.Stream requiredposition: 0
cancellationToken System.Threading.CancellationToken requiredposition: 1
text System.String@ requiredposition: 2
public static Boolean TryDecodePng(Stream stream, ImageDecodeOptions options, CancellationToken cancellationToken, out String text) #
Returns: Boolean

Attempts to decode an Aztec symbol from a PNG stream with image decode options, with cancellation.

Parameters

stream System.IO.Stream requiredposition: 0
options CodeGlyphX.ImageDecodeOptions requiredposition: 1
cancellationToken System.Threading.CancellationToken requiredposition: 2
text System.String@ requiredposition: 3
public static Boolean TryDecodePng(Stream stream, ImageDecodeOptions options, CancellationToken cancellationToken, out String text, out AztecDecodeDiagnostics diagnostics) #
Returns: Boolean

Attempts to decode an Aztec symbol from a PNG stream with image decode options, cancellation, and diagnostics.

Parameters

stream System.IO.Stream requiredposition: 0
options CodeGlyphX.ImageDecodeOptions requiredposition: 1
cancellationToken System.Threading.CancellationToken requiredposition: 2
text System.String@ requiredposition: 3
diagnostics CodeGlyphX.AztecDecodeDiagnostics@ requiredposition: 4
TryDecodePngFile 7 overloads
public static Boolean TryDecodePngFile(String path, out String text) #
Returns: Boolean

Attempts to decode an Aztec symbol from a PNG file.

Parameters

path System.String requiredposition: 0
text System.String@ requiredposition: 1
public static Boolean TryDecodePngFile(String path, CancellationToken cancellationToken, out String text) #
Returns: Boolean

Attempts to decode an Aztec symbol from a PNG file, with cancellation.

Parameters

path System.String requiredposition: 0
cancellationToken System.Threading.CancellationToken requiredposition: 1
text System.String@ requiredposition: 2
public static Boolean TryDecodePngFile(String path, ImageDecodeOptions options, out String text) #
Returns: Boolean

Attempts to decode an Aztec symbol from a PNG file with image decode options.

Parameters

path System.String requiredposition: 0
options CodeGlyphX.ImageDecodeOptions requiredposition: 1
text System.String@ requiredposition: 2
public static Boolean TryDecodePngFile(String path, ImageDecodeOptions options, CancellationToken cancellationToken, out String text) #
Returns: Boolean

Attempts to decode an Aztec symbol from a PNG file with image decode options, with cancellation.

Parameters

path System.String requiredposition: 0
options CodeGlyphX.ImageDecodeOptions requiredposition: 1
cancellationToken System.Threading.CancellationToken requiredposition: 2
text System.String@ requiredposition: 3
public static Boolean TryDecodePngFile(String path, out String text, out AztecDecodeDiagnostics diagnostics) #
Returns: Boolean

Attempts to decode an Aztec symbol from a PNG file, with diagnostics.

Parameters

path System.String requiredposition: 0
text System.String@ requiredposition: 1
diagnostics CodeGlyphX.AztecDecodeDiagnostics@ requiredposition: 2
public static Boolean TryDecodePngFile(String path, ImageDecodeOptions options, out String text, out AztecDecodeDiagnostics diagnostics) #
Returns: Boolean

Attempts to decode an Aztec symbol from a PNG file with image decode options, with diagnostics.

Parameters

path System.String requiredposition: 0
options CodeGlyphX.ImageDecodeOptions requiredposition: 1
text System.String@ requiredposition: 2
diagnostics CodeGlyphX.AztecDecodeDiagnostics@ requiredposition: 3
public static Boolean TryDecodePngFile(String path, ImageDecodeOptions options, CancellationToken cancellationToken, out String text, out AztecDecodeDiagnostics diagnostics) #
Returns: Boolean

Attempts to decode an Aztec symbol from a PNG file with image decode options, cancellation, and diagnostics.

Parameters

path System.String requiredposition: 0
options CodeGlyphX.ImageDecodeOptions requiredposition: 1
cancellationToken System.Threading.CancellationToken requiredposition: 2
text System.String@ requiredposition: 3
diagnostics CodeGlyphX.AztecDecodeDiagnostics@ requiredposition: 4