I need to be able to take multiple bitmaps and overlay them onto a new bitmap with a programmer-specified alpha value.
Is this capability already in BrightScript?
Two different ways to implement this in BrightScript that would be useful to me:
-- Add alpha value to the three Draw*Object() methods in ifDraw2D. (
http://sdkdocs.roku.com/display/RokuSDKv48/ifDraw2D). The new alpha value would set a constant alpha for the entire image (i.e. replace) or would be combined with the existing alpha, programmers choice. I think for my use I would want "replace," but I'm not entirely sure yet.
-- Ability to SetByteArray to a bitmap (
http://forums.roku.com/viewtopic.php?p=324460#p324625). It would also be helpful to me if this were paired with the ability to write png files from a bitmap (to provide images for roPosterScreen, for example).