# File reference load and save

**URL:** <https://forum.kirupa.com/t/file-reference-load-and-save/330830>\
**Category:** flash\
**Created:** [March 25, 2013, 8:41am UTC](https://forum.kirupa.com/t/file-reference-load-and-save/330830 "2013-03-25T08:41:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![anand\_as2](https://avatars.discourse-cdn.com/v4/letter/a/b782af/32.png) [@anand\_as2](https://forum.kirupa.com/u/anand_as2)\
**Post date:** [March 25, 2013, 8:41am UTC](https://forum.kirupa.com/t/file-reference-load-and-save/330830/1 "2013-03-25T08:41:55Z")

</div>

Hi,  
I have loaded a image using file reference from my local. Now i need to save the same image as jpg using file reference file.save().

the problem here is after loading the image. I convert that images to bitmap. after converting to bitmap the bitmap image is black.(no photo in it). So the jpg image is also black.

Any help would be great!.
