Method Parse
Parse(string)
Parses a DZI XML string.
public static SKImagePyramidDziSource Parse(string xml)
Parameters
xmlstring
Returns
Parse(Stream)
Parses a DZI XML from a stream.
public static SKImagePyramidDziSource Parse(Stream stream)
Parameters
streamStream
Returns
Parse(Stream, string?)
Parses a DZI XML from a stream with a tiles base URI.
public static SKImagePyramidDziSource Parse(Stream stream, string? tilesBaseUri)
Parameters
Returns
Parse(string, string?)
Parses a DZI XML string with a tiles base URI.
public static SKImagePyramidDziSource Parse(string xml, string? tilesBaseUri)
Parameters
Returns
Parse(string, Uri)
Parses a DZI XML string, deriving the tiles base URI from the DZI file URI
using the Deep Zoom convention: {name}_files/ relative to the DZI location.
public static SKImagePyramidDziSource Parse(string xml, Uri dziUri)
Parameters
xmlstringThe DZI XML content.
dziUriUriThe URI of the DZI file (e.g.
"https://server.com/image.dzi"or"tiles/image.dzi"). The tiles base URI is derived as{uri_without_extension}_files/.
Returns
Parse(Stream, Uri)
Parses a DZI XML from a stream, deriving the tiles base URI from the DZI file URI.
public static SKImagePyramidDziSource Parse(Stream stream, Uri dziUri)
Parameters
streamStreamdziUriUri