# Exporting a bitmap at runtime?

**URL:** https://forum.kirupa.com/t/exporting-a-bitmap-at-runtime/255300
**Category:** Uncategorized
**Created:** [March 20, 2008, 9:20pm UTC](https://forum.kirupa.com/t/exporting-a-bitmap-at-runtime/255300 "2008-03-20T21:20:01Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![danthemilk](https://avatars.discourse-cdn.com/v4/letter/d/a88e57/32.png) [@danthemilk](https://forum.kirupa.com/u/danthemilk)
#### Post date: [March 20, 2008, 9:20pm UTC](https://forum.kirupa.com/t/exporting-a-bitmap-at-runtime/255300/1 "2008-03-20T21:20:01Z")

</div>

I’m wondering if it is possible to export a “screenshot” of the stage to an image file that the user can download. for instance, they draw a picture, click a download button, and get a prompt to download the image they’ve drawn as a jpeg or what have you. I’ve found some sparse info about using PHP to send a bitmapdata object to the server (I think), but I need a little more help. I’m working with AS3 and CS3.

Thanks!
