Export PNG with alpha channel/mask

Richmond richmondmathewson at gmail.com
Thu Sep 22 13:31:17 EDT 2016


I don't quite understand why your transparent areas are exporting as Black:

http://forums.livecode.com/viewtopic.php?f=7&t=27984

Richmond.

On 22.09.2016 18:02, Ben Rubinstein wrote:
> 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?
>
> TIA
>
> Ben
>
> _______________________________________________
> 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