kb-dk/graph_presenter

Find a better tool for SVG→bitmap conversion

Closed this issue · 2 comments

tokee commented

GraphicsMagic is the best tool so far for SVG→PNG conversion in this context, but its requirements scale with the output size. 50K×50K pixels is feasible on a 16GB quad-core machine, but takes hours.

Tools such as librsvg2 or Inkscape with area specific exports might prove to scale better. vips does support SVG in theory, but experiments has not been frutiful so far.

tokee commented

The vips branch add-unlimited-to-svgload fixes the SVG-problem that vips had and works very well. The graph_presenter branch links utilizes this and is expected to be merged to master.

The obvious downside is that the user has to compile vips themselves.

tokee commented

Since a solution (albeit not out of the box) is present with the experimental vips-branch, I am closing this issue. A how-to for compiling vips has been added to the main README.