Skip to main content
Participant
August 20, 2013
Question

How can I combine 3 bitmaps? However, it should be each bitmap for each color channel, RGB

  • August 20, 2013
  • 2 replies
  • 386 views

How can I combine 3 bitmaps? However, it should be each bitmap for each color channel. RGB

How can i do it by AS3 ?

This topic has been closed for replies.

2 replies

Amy Blankenship
Legend
August 21, 2013

Look at the BitmapData's copyChannel function.

kglad
Community Expert
Community Expert
August 20, 2013

bitmap1 will supply the red for the final bitmap, bitmap2 will supply the green value for the final bitmap etc?

if so, loop through the final bitmaps pixels and assign values using setColor() or setColor32 and the bitwise operators to extract and add rgb values.