Export SVG as PNG?

Ali Lloyd ali.lloyd at livecode.com
Wed Jul 19 11:44:49 EDT 2017


export snapshot from rect (the rect of widget 1) of widget 1 to file (
specialfolderpath("desktop") & "/test.png") as png


The 'of widget 1' part is the important part - that takes the object in
isolation rather than snapshotting the background of the card.

On Wed, Jul 19, 2017 at 4:36 PM Dan Friedman via use-livecode <
use-livecode at lists.runrev.com> wrote:

> Hello!   Is it possible to export a svg widget to a png and retain the
> transparency?  If so, how would you go about doing that?
>
> Thanks!
> -Dan
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



More information about the use-livecode mailing list