Zoom.it

API Reference - DZI object

All content that's been successfully processed by Zoom.it has an associated Deep Zoom Image. The info for this DZI is returned in a dzi object. When fetching content info, this dzi object is available as the dzi field of the returned content object.

All of the fields beyond url can be derived by fetching and parsing the DZI's XML, but their values are provided in this object for convenience and for efficiency.

Fields

url [string]: the URL where this DZI can be found. This URL should be treated opaquely; it may change as the DZI is purged and regenerated by Zoom.it.

width [int]: the width of this DZI. This can be derived via the Width attribute of the <Size> element in the DZI's XML.

height [int]: the height of this DZI. This can be derived via the Height attribute of the <Size> element in the DZI's XML.

tileSize [int]: the tile size of this DZI. This can be derived via the TileSize attribute of the <Image> element in the DZI's XML.

tileOverlap [int]: the tile overlap of this DZI. This can be derived via the Overlap attribute of the <Image> element in the DZI's XML.

tileFormat [string]: the tile format of this DZI. This can be derived via the Format attribute of the <Image> element in the DZI's XML.



Terms of Use Privacy Statement © Microsoft Corp.