# Question about loading pictures

**URL:** <https://forum.kirupa.com/t/question-about-loading-pictures/265822>\
**Category:** flash\
**Created:** [July 13, 2008, 12:03am UTC](https://forum.kirupa.com/t/question-about-loading-pictures/265822 "2008-07-13T00:03:49Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![kevin416](https://avatars.discourse-cdn.com/v4/letter/k/51bf81/32.png) [@kevin416](https://forum.kirupa.com/u/kevin416)\
**Post date:** [July 13, 2008, 12:03am UTC](https://forum.kirupa.com/t/question-about-loading-pictures/265822/1 "2008-07-13T00:03:49Z")

</div>

I was trying to load a .bmp file using the Loader class but kept getting errors saying that the image was of an unknown type. I tryed saving the picture as a .png and the loader worked immediately. Is there something that one has to do differently for loading .bmp’s?

---

<div class="post-metadata">

**Author:** ![saxx](https://avatars.discourse-cdn.com/v4/letter/s/f04885/32.png) [@saxx](https://forum.kirupa.com/u/saxx)\
**Post date:** [July 13, 2008, 12:11am UTC](https://forum.kirupa.com/t/question-about-loading-pictures/265822/2 "2008-07-13T00:11:42Z")

</div>

Refer to this thread

> **[Loading External .BMP files through actionscrip](https://www.kirupa.com/forum/showthread.php?t=208737)**
>
> Got a web design/development question or just want to hang out with the most awesome people on the planet? Drop on in!

it seems like loadmovie can’t load BMps

---

<div class="post-metadata">

**Author:** ![Anogar](https://avatars.discourse-cdn.com/v4/letter/a/ed655f/32.png) [@Anogar](https://forum.kirupa.com/u/Anogar)\
**Post date:** [July 13, 2008, 6:22am UTC](https://forum.kirupa.com/t/question-about-loading-pictures/265822/3 "2008-07-13T06:22:07Z")

</div>

The Loader class is used to load SWF files or image (JPG, PNG, or GIF) files. Is there a reason that the file has to be in BMP format?

---

<div class="post-metadata">

**Author:** ![saxx](https://avatars.discourse-cdn.com/v4/letter/s/f04885/32.png) [@saxx](https://forum.kirupa.com/u/saxx)\
**Post date:** [July 13, 2008, 7:16am UTC](https://forum.kirupa.com/t/question-about-loading-pictures/265822/4 "2008-07-13T07:16:33Z")

</div>

BMPs aren’t all that web friendly, i’d go with pngs

and if you have like 100 BMPs, theres mass converting software i think. Just google it

---

<div class="post-metadata">

**Author:** ![kevin416](https://avatars.discourse-cdn.com/v4/letter/k/51bf81/32.png) [@kevin416](https://forum.kirupa.com/u/kevin416)\
**Post date:** [July 14, 2008, 4:11am UTC](https://forum.kirupa.com/t/question-about-loading-pictures/265822/5 "2008-07-14T04:11:55Z")

</div>

Thanks.

I was just saving them as bmp’s because I knew what that file type was. To keep things easy I resaved them as png’s and now that part works.
