XML technologies / XSL-FO / Reference / Antenna House Formatter XSL Extensions / Properties / image-resolution

(Excerpt from "XSL-FO ― Die Referenz" by Manuel Montero Pineda & Steffen Herkert, 2016, dpunkt.verlag)

A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z

Category Images, Multimedia

Specifies the resolution of an image. [CSS3-GCPM] Image resolution

Value:

normal | [ from-image || <dpi> ]

Initial value:

from-image (XSL) / normal (CSS)

Applies to:

fo:external-graphic, fo:instream-foreign-object

Inherited:

no

Percentages:

N/A

Values have the following meanings.

normal

Depends on the default value of the system. It's the value specified as pxpi in the Option Setting File. Ignores the actual resolution of an image.

from-image

Uses the actual resolution of an image. When an image does not have the resolution, it will follow the <dpi> specification. If nothing is specified, it is the same as normal.

<dpi>

Specifies the resolution (dpi) Ignores the actual resolution of an image.

The resolution of a background image is specified by axf:background-image-resolution. In case of vector images, such as SVG, it is applied to numerical values with no units. from-image is ignored.

back to top