# BitmapData.copyPixels and BlendMode

**URL:** https://forum.kirupa.com/t/bitmapdata-copypixels-and-blendmode/314627
**Category:** flash
**Created:** [October 4, 2010, 8:45pm UTC](https://forum.kirupa.com/t/bitmapdata-copypixels-and-blendmode/314627 "2010-10-04T20:45:34Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![dnkupfer](https://avatars.discourse-cdn.com/v4/letter/d/f17d59/32.png) [@dnkupfer](https://forum.kirupa.com/u/dnkupfer)
#### Post date: [October 4, 2010, 8:45pm UTC](https://forum.kirupa.com/t/bitmapdata-copypixels-and-blendmode/314627/1 "2010-10-04T20:45:34Z")

</div>

I’m loading a batch of 50 jpgs and once loaded, on enter frame, I’d like to change their alpha individually and apply BlendMode.ADD to all of them (also individually).

I can do this easy using normal Sprite objects, but this is not efficient enough (processor wise). I’ve played a bit with BitmapData.draw(source, null, null, BlendMode.Add) and that’s still not efficient enough.

So I was wondering if I could achieve similar effect using copyPixels (which I know should be more efficient). Still, I’m a bit clueless on how could I apply BlendMode and alpha on a bitmapData object (I mean, I know I can’t, but I was wondering if I could make this work using Matrix and filter manipulations).

I must say I’m quite unfamiliar with Matrix operations so any help will be much appreciated.

Many thanks.
