SVG to image

Klaus major-k klaus at major-k.de
Sun Sep 16 16:19:54 EDT 2018


Hi Brian,

> Am 16.09.2018 um 22:14 schrieb Brian Milby via use-livecode <use-livecode at lists.runrev.com>:
> 
> I will point out that not everything will translate exactly between an icon
> and a compiled drawing.  See this thread on the forum:
> http://forums.livecode.com/viewtopic.php?f=10&t=30441
> 
> I created a stack that will take an SVG and display it in a browser widget,
> an icon, and as a compiled image.  You will need to start with a full SVG
> image file though.  The stack extracts the path info (assumes that it is a
> path).
> 
> A large selection of icon collections is available here:
> https://github.com/leungwensen/svg-icon

don't worry:
....
import snapshot from rect(the rect of widget "Your SVG") of widget "Your SVG"
... 
works fine for my needs. :-)


Best

Klaus
--
Klaus Major
http://www.major-k.de
klaus at major-k.de





More information about the use-livecode mailing list