Following up on the mathoid discussion in T71702, it would be great to set up a simple end point / service for SVG to PNG conversion. We could use the rsvg bindings for node, and expose an API that
- supports posting an SVG & returning the PNG, or
- supports posting / GETing an URL that matches a whitelist and returns a PNG for the SVG living at that location.
The second task (whitelist matching and SVG fetching) could also be handled by RESTBase, so maybe we should just do 1) for now, with access restricted to the internal network.
In a later step, this service could be extended to also support: