Export (0) Print
Expand All

Image Element (Deep Zoom File Format Schema)

Silverlight

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>

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 Note:
Deep Zoom image pyramids support only the image files supported by the BitmapImage class.

Child Elements

Element

Description

Size

Required element.

Defines the size of the image in pixels.

DisplayRects

Optional element.

Contains DisplayRect elements that describe all available pixels.

Parent Elements

None.

If you are defining a single image, this element is the root element.

minOccurs="1"

maxOccurs="1"

Namespace

Empty

Schema name

Deep Zoom Schema

Validation file

deepzoom.xsd

Can be empty

Yes

Community Additions

ADD
Show:
© 2014 Microsoft