Table of Contents

Class SKImagePyramidDziCollectionSource

Namespace
SkiaSharp.Extended
Assembly
SkiaSharp.Extended.dll

Represents a Deep Zoom Collection (DZC) — a composite tiled pyramid of multiple images. Parses the DZC XML descriptor and provides access to sub-images and composite tile math.

public class SKImagePyramidDziCollectionSource
Inheritance
SKImagePyramidDziCollectionSource
Inherited Members

Constructors

SKImagePyramidDziCollectionSource(int, int, string, IReadOnlyList<SKImagePyramidDziCollectionSubImage>)

Properties

CacheExpiry
Format

Image format (e.g., "jpg", "png").

ItemCount

Number of items in the collection.

Items

Read-only list of all sub-images.

MaxLevel

Maximum composite pyramid level.

NextItemId

Next item ID (from DZC NextItemId attribute).

SourceId
TileSize

Tile size in pixels.

TilesBaseUri

Base URI for composite mosaic tiles.

Methods

GetCompositeTileUrl(int, int, int)

Gets the relative composite tile URL.

GetMortonGridSize()

Computes the Morton (Z-order) grid dimensions for this collection. Items are placed on a 2^N × 2^N grid.

GridToMorton(int, int)

Converts (column, row) to a Morton index.

MortonToGrid(int)

Converts a Morton (Z-order) index to (column, row) coordinates.

Parse(Stream)

Parses a DZC XML from a stream.

Parse(Stream, string?)

Parses a DZC XML from a stream with a base URI.

Parse(string)

Parses a DZC XML string.