Hi Ben,

> Am 22.09.2016 um 17:02 schrieb Ben Rubinstein <benr...@cogapp.com>:
> I want to compose an image using a bunch of LC objects, then export a PNG, 
> with an alpha channel containing a mask (ideally > 1 bit, but that part's not 
> critical).
> The documentation for export snapshot is not very clear. I've tried things 
> like exporting a transparent group containing some objects; the PNG was just 
> filled with black where there were no objects.
> There is an option "with mask xx", but it appears that this is only for PBM 
> format - and in any case I can't make it work.
> Is there any way to do this?

yes, but you need to group all your objects first, then use something like this:
export snapshot from rect (the rect of grp 1) of grp 1 to img 1 as PNG

> Ben



Klaus Major

use-livecode mailing list
Please visit this url to subscribe, unsubscribe and manage your subscription 

Reply via email to