Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { // the name/path for the inkscape CLI command // If left empty, the default inkscape command will be used. Command string }
Client is an implementation of an Inkscape CLI wrapper. It assumes a locally available inkscape command can be run.
func (Client) IsAvailable ¶
IsAvailable checks whether the inkscape command is locally available. Provides feature detection for a sort of progressive enhancement.
func (Client) SVGStringToPNG ¶
SVGStringToPNG rasterizes the provided SVG text to PNG format.
Click to show internal directories.
Click to hide internal directories.