texlive.js icon indicating copy to clipboard operation
texlive.js copied to clipboard

Client-side generated images

Open macolo opened this issue 11 years ago • 1 comments

This is the future!

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

macolo avatar Aug 18 '14 13:08 macolo

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.

manuels avatar Aug 19 '14 08:08 manuels