1

Let's say I have a bitmap with 3 circles (red , purple , yellow), I would like (in pure AS, no PixelBender) to post process the image and set the alpha of the yellow pixels to 0.

Can I use the ColorMatrixFilter class, or should I iterate over the entire bitmapData?

This example uses AS2, I'm looking for something similar in AS3

Shlomi Schwartz
  • 8,693
  • 29
  • 109
  • 186

1 Answers1

0

I think this ColorMatrixFilter would do what you are asking

matrix.concat([1, 1, 0, 0, 0]);
The_asMan
  • 6,364
  • 4
  • 23
  • 34