wrap_images_in_svg property

wrap_images_in_svg property

The property that enables wrapping each image in the output HTML document in an SVG tag to improve output quality.

By default, when rendering PDF and Page Layout files to HTML, all images are rendered as one PNG image. The rendered PNG image is used as the background for the output HTML document.

This option is available when rendering PDF and Page Layout file formats to HTML with embedded and external resources. It enables wrapping each image in the output HTML document in an SVG tag. The default value is False.

For a code example, see the documentation.

Definition:

@property
def wrap_images_in_svg(self):
    ...
@wrap_images_in_svg.setter
def wrap_images_in_svg(self, value):
    ...

See Also