If it's the same librsvg as below, then it looks like it has an
API function which can also load a SVG from memory:
https://developer.gnome.org/rsvg/2.40/RsvgHandle.html#rsvg-handle-new-from-data
To answer your original question, I think the best way to do
this is to create a pipe on the files
On Saturday, 22 February 2014 at 07:26:26 UTC, Steve Teale wrote:
This is probably not exactly a D question.
The library librsvg expects to get an SVG file filename. I have
the data of such a file in memory.
If it's the same librsvg as below, then it looks like it has an
API function which c
This is probably not exactly a D question.
The library librsvg expects to get an SVG file filename. I have
the data of such a file in memory.
How do I dress up that memory as a file with a name so that I can
pass the name to the librsvg open function.
I've looked at std.mmfile, and played w