2.2.6 Image

A web drawing can have embedded images. Each embedded image is associated with a shape, which provides information about the image placement, size, and properties.

The ShapeSheet_Type element of a shape that specifies an image MUST have its Type attribute equal to "Foreign" and MUST have a ForeignData_Type child element.

The ShapeSheet_Type element specifies the position, width, and height of the image using the ImgOffsetX, ImgOffsetY, ImgWidth, and ImgHeight Cell_Type child elements. 

The ShapeSheet_Type element specifies image formatting properties using the Blur, Brightness, Contrast, Denoise, Gamma, and Sharpen, and Transparency Cell_Type child elements.

Additional image properties, such as format and compression, are specified by attributes of the ForeignData_Type child element. This element MUST have a Rel_Type child element that specifies an explicit relationship to another part. The following embedded image formats are supported:

For these formats, the Rel_Type child element of the ForeignData_Type element MUST specify an Image part that contains the embedded image.

Other embedded image formats and embedded objects are supported using fallback images.