manuels/texlive.js

Client-side generated images

macolo opened this issue · 1 comments

This is the future!

I would like to reference svg images that are generated in the browser. Is this somehow possible?

Yes, it is: just use the pdftex.FS_createDataFile(parentPath, filename, data, canRead, canWrite) command and put the source code of the SVG into the data argument.