Image Element (Deep Zoom File Format Schema)
Microsoft Silverlight will reach end of support after October 2021. Learn more.
The root element when defining a single image for Deep Zoom.
<Image
TileSize="size"
Overlap="overlap of all four sides of tiles"
Format="file format"
>
<Size> ... </Size>
<DisplayRects> ... </DisplayRects>
</Image>
Attributes and Elements
The following sections describe attributes, child elements, and parent elements.
Attributes
Attribute |
Description |
---|---|
TileSize |
Required unsignedLong attribute. The tile size of the level in pixels. Note that these have to be square. Unlike Collection.TileSize, the TileSize for an Image does not have to be a power of 2. |
Overlap |
Required unsignedLong attribute. The tile overlap on all four sides of the tiles. A value of 0 is allowed for Deep Zoom images. |
Format |
Required string attribute. This defines the file format of the tiles as an extension.
Note:
Deep Zoom image pyramids support only the image files supported by the BitmapImage class.
|
Child Elements
Element |
Description |
---|---|
Required element. Defines the size of the image in pixels. |
|
Optional element. Contains DisplayRect elements that describe all available pixels. |
Parent Elements
None.
Remarks
If you are defining a single image, this element is the root element.
minOccurs="1"
maxOccurs="1"
Element Information
Namespace |
Empty |
Schema name |
Deep Zoom Schema |
Validation file |
deepzoom.xsd |
Can be empty |
Yes |
See Also