Dom-to-Image Plugin in TW-5.4

Does this new official plugin can be used to create an image (SVG) from a tiddler?

I did a very short test. IMO - Not really.

It is flagged as experimental.

If I open the plugin tiddler itself and create a $:/temp/screenshot.svg it creates a 2MByte text file with a lot of “gobble-di-gook” in it.

Mainly it’s a SVG foreignObject that contains a copy of the browser HTML DOM structure, with a lot of hardcoded style definitions for every single DOM element. The styles make the file big.

SVGOptimizer can not handle (optimise) it. It quits with an error message: “Pseudo-elements are not supported by css-select”. So no luck here.

Inkscape SVG editor does not open / import it. It shows a blank page.

IMO it is usable to create PNG screenshots, but that’s it.