I would simplfy that to:

export snapshot of widget "XXX" to file "XXX.png" as PNG

no need to mess around with "the rect of".

Richmond.

On 7/19/17 6:44 pm, Ali Lloyd via use-livecode wrote:
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 <
[email protected]> 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
[email protected]
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to