(Auszug aus "XSL-FO ― Die Referenz" von 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:from-image (XSL) / normal (CSS)
Applies to:fo:external-graphic, fo:instream-foreign-object

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-imageUses 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.

Tipp der data2type-Redaktion:
Zum Thema XSL-FO bieten wir auch folgende Schulungen zur Vertiefung und professionellen Fortbildung an: