# Yet another BitmapData question

**URL:** https://forum.kirupa.com/t/yet-another-bitmapdata-question/291859
**Category:** flash
**Created:** [July 6, 2009, 8:41pm UTC](https://forum.kirupa.com/t/yet-another-bitmapdata-question/291859 "2009-07-06T20:41:38Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![ponpon](https://avatars.discourse-cdn.com/v4/letter/p/6f9a4e/32.png) [@ponpon](https://forum.kirupa.com/u/ponpon)
#### Post date: [July 6, 2009, 8:41pm UTC](https://forum.kirupa.com/t/yet-another-bitmapdata-question/291859/1 "2009-07-06T20:41:38Z")

</div>

I am preparing small app in Flash where i will be able to do some basic modifications on BitmapData (rotate, scale, desaturate, etc). Whats the most efficient way to do couple of modyfications? Let’s say I want to downsize a BitmapData (using matrix perhaps) and then i want to rotate it 90 CCW and then apply a filter. After each action do I have to clone BitmapData or draw another one from a bmd from a previous state? Maby this would be more descriptive:

1. Load jpeg into bmd1
2. Apply transformation on bmd1
3. Copy tranformed bmd1 content to a bmd2
4. Apply filter on bmd2
5. Copy filtered bmd2 content to a bmd3
6. Save out bmd3.

ANY help would be apperciated.

Thanks a lot
