Create image from SVG widget

Klaus major-k klaus at
Mon Sep 21 17:07:56 EDT 2020

Hi Brian

> Am 21.09.2020 um 23:03 schrieb Brian Milby via use-livecode <use-livecode at>:
> This may be what you're looking for:
> put drawingSvgCompile(tFileText) into tDrawing
> set the text of image "svgImage" to tDrawing
> The stack in the forum post will let you see the difference in how a
> particular svg file is rendered in the browser widget, as a SVG path
> (widget), and as a SVG Compiled Drawing (image).  There is some additional
> code available that will translate the path (effectively trim extra space
> around the image) that I have not incorporated.

thank you!

But I thought we could do this from a SVG widget without the need of a .svg FILE.
Was I dreaming?



Klaus Major
klaus at

More information about the use-livecode mailing list