# Parse png from bytes

**URL:** <https://forum.kirupa.com/t/parse-png-from-bytes/315803>\
**Category:** Uncategorized\
**Created:** [November 4, 2010, 2:57pm UTC](https://forum.kirupa.com/t/parse-png-from-bytes/315803 "2010-11-04T14:57:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![airnan](https://avatars.discourse-cdn.com/v4/letter/a/f9ae1b/32.png) [@airnan](https://forum.kirupa.com/u/airnan)\
**Post date:** [November 4, 2010, 2:57pm UTC](https://forum.kirupa.com/t/parse-png-from-bytes/315803/1 "2010-11-04T14:57:54Z")

</div>

I have very large pngs (20000x20000) that have sprites of an animation.

I can´t load the whole file as a bitmap because it exceeds the maximum image size that flash allows.

Is there a way to load the file as bytes, and then parse it into several small bitmapdatas that each contain one sprite of the animation?
