file-svg-load

Dom Lachowicz
Sven Neumann

Description

Loads files in the SVG file format

Help

Renders SVG files to raster graphics using librsvg.


Type

unknown

Parameters

Type Name Description
PF_INT run-mode The run mode { RUN-INTERACTIVE (0), RUN-NONINTERACTIVE (1) }
PF_VALUE filename The name of the file to load
PF_VALUE raw-filename The name of the file to load
PF_FLOAT resolution Resolution to use for rendering the SVG (defaults to 90 dpi)
PF_INT width Width (in pixels) to load the SVG in. (0 for original width, a negative width to specify a maximum width)
PF_INT height Height (in pixels) to load the SVG in. (0 for original height, a negative width to specify a maximum height)
PF_INT paths Whether to not import paths (0), import paths individually (1) or merge all imported paths (2)

Return

Type Name Description
PF_IMAGE image Output image