The <credit-image> element
Parent element: <credit>
The <credit-image> element is similar to the <image> element for a <direction>. However, since the <credit> is not part of a measure, the default-x and default-y attributes adjust the origin relative to the bottom left-hand corner of the page.
Content
Always empty.
Attributes
Name | Type | Required? | Description |
---|---|---|---|
default-x | tenths | No | Changes the computation of the default horizontal position. The origin is changed relative to the bottom left-hand corner of the specified page. Positive x is right and negative x is left. |
default-y | tenths | No | Changes the computation of the default vertical position. The origin is changed relative to the bottom left-hand corner of the specified page. Positive y is up and negative y is down. |
halign | left-center-right | No | Indicates horizontal alignment to the left, center, or right of the image. Default is implementation-dependent. |
height | tenths | No | Used to size and scale an image. The image should be scaled independently in X and Y if both height and width are specified. If only height is specified, the image should be scaled proportionally to fit in the specified Y dimension. |
id | ID | No | Specifies an ID that is unique to the entire document. |
relative-x | tenths | No | Changes the horizontal position relative to the default position, either as computed by the individual program, or as overridden by the default-x attribute. Positive x is right and negative x is left. |
relative-y | tenths | No | Changes the vertical position relative to the default position, either as computed by the individual program, or as overridden by the default-y attribute. Positive y is up and negative y is down. |
source | anyURI | No | The URL for the image file. |
type | token | No | The MIME type for the image file format. Typical choices include application/postscript, image/gif, image/jpeg, image/png, and image/tiff. |
valign | valign-image | No | Indicates vertical alignment to the top, middle, or bottom of the image. The default is implementation-dependent. |
width | tenths | No | Used to size and scale an image. The image should be scaled independently in X and Y if both height and width are specified. If only width is specified, the image should be scaled proportionally to fit in the specified X dimension. |
Examples
This element is used in the following examples: