Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
MSGreg
Visitor

A need for drawing bitmap with program-specified alpha

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).
0 Kudos