Can you explain the difference between 

 PictureMBS.CopyPictureWithMask
and
 PictureMBS.CopyPictureWithAlpha (new in 18.0)

It sounds like WithMask gives you 32 bit RGBA data (e.g. the "new style" xojo 
picture)?

And WithAlpha gives you the old style 24bit RGB Picture + separate Mask picture?

Or do I have that backwards?




> On Apr 18, 2018, at 8:51 AM, Christian Schmitz 
> <[email protected]> wrote:
> 
> 
>> Am 18.04.2018 um 17:35 schrieb Michael Diehr <[email protected]>:
>> 
>> Hi Christian,
>> 
>> In particular, Pictures now come in five flavors:
> 
> Well, actually we handle 10 different kinds as per platform the types differ.
> 
>> * Old style (32 bit picture + separate mask) - these are still used by the 
>> framework in some places.
> 
> And are still my preferred type as a lot of changes need un-multiply which is 
> difficult and slow.
> 
>> * MutableBitmap (32 bit RGBA picture - no separate mask)
> 
> Most functions still ignore alpha.
> 
>> * ImmutableBitmap (available with SupportHiDPI is ON).
>> * Vector
> 
> 
> For both, for reading, we make a clone first to get a bitmap.
> 
>> * Image Sets (which contain multiple Pictures)
> 
> We pick highest resolution bitmap for reading.
> 
> 
> 
> Sincerely
> Christian
> 
> -- 
> Read our blog about news on our plugins:
> 
> http://www.mbsplugins.de/
> 
> 
> _______________________________________________
> Mbsplugins_monkeybreadsoftware.info mailing list
> [email protected]
> https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to