Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

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

New Here ,
Aug 20, 2013 Aug 20, 2013

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

How can i do it by AS3 ?

TOPICS
ActionScript
364
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 20, 2013 Aug 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Aug 21, 2013 Aug 21, 2013
LATEST

Look at the BitmapData's copyChannel function.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines