# Convert .png files into text image

**URL:** <https://forum.makecode.com/t/convert-png-files-into-text-image/9596>\
**Category:** Help\
**Created:** [August 11, 2021, 3:35pm UTC](https://forum.makecode.com/t/convert-png-files-into-text-image/9596 "2021-08-11T15:35:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sysdl132](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/sysdl132/32/4717_2.png) [@sysdl132](https://forum.makecode.com/u/sysdl132)\
**Post date:** [August 11, 2021, 3:35pm UTC](https://forum.makecode.com/t/convert-png-files-into-text-image/9596/1 "2021-08-11T15:35:30Z")

</div>

I want to convert the following images (.png) :

 ![home-hero-1200x600](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/1/14ad42da12d9320bfc21868fd53d1c7aad93b2e4.jpeg)

into the format like this:

```auto
anim.addAnimationFrame(img`
    . . . . . . . . . . . . . . . . 
    . . . . . . . . . . . . . . . . 
    . . . . . . . . . b 5 5 b . . . 
    . . . . . . b b b b b b . . . . 
    . . . . . b b 5 5 5 5 5 b . . . 
    . b b b b b 5 5 5 5 5 5 5 b . . 
    . b d 5 b 5 5 5 5 5 5 5 5 b . . 
    . . b 5 5 b 5 d 1 f 5 d 4 f . . 
    . . b d 5 5 b 1 f f 5 4 4 c . . 
    b b d b 5 5 5 d f b 4 4 4 4 b . 
    b d d c d 5 5 b 5 4 4 4 4 4 4 b 
    c d d d c c b 5 5 5 5 5 5 5 b . 
    c b d d d d d 5 5 5 5 5 5 5 b . 
    . c d d d d d d 5 5 5 5 5 d b . 
    . . c b d d d d d 5 5 5 b b . . 
    . . . c c c c c c c c b b . . . 
    `)
anim.addAnimationFrame(img`
    . . . . . . . . . . . . . . . . 
    . . . . . . . . . . b 5 b . . . 
    . . . . . . . . . b 5 b . . . . 
    . . . . . . b b b b b b . . . . 
    . . . . . b b 5 5 5 5 5 b . . . 
    . b b b b b 5 5 5 5 5 5 5 b . . 
    . b d 5 b 5 5 5 5 5 5 5 5 b . . 
    . . b 5 5 b 5 d 1 f 5 d 4 f . . 
    . . b d 5 5 b 1 f f 5 4 4 c . . 
    b b d b 5 5 5 d f b 4 4 4 4 4 b 
    b d d c d 5 5 b 5 4 4 4 4 4 b . 
    c d d d c c b 5 5 5 5 5 5 5 b . 
    c b d d d d d 5 5 5 5 5 5 5 b . 
    . c d d d d d d 5 5 5 5 5 d b . 
    . . c b d d d d d 5 5 5 b b . . 
    . . . c c c c c c c c b b . . . 
    `)

```

So how to do it?

---

<div class="post-metadata">

**Author:** ![Kiwiphoenix364](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/kiwiphoenix364/32/14368_2.png) [@Kiwiphoenix364](https://forum.makecode.com/u/Kiwiphoenix364)\
**Post date:** [August 11, 2021, 3:49pm UTC](https://forum.makecode.com/t/convert-png-files-into-text-image/9596/2 "2021-08-11T15:49:34Z")

</div>

There’s tools that allow you to do that in @UnsignedArduino 's “Awesome Arcade Extensions” [here.](https://github.com/UnsignedArduino/Awesome-Arcade-Extensions) After you click the link go down to the tools category, and the first one should be convert image to makecode and if you click on it (the link under “Find this tool here:” it’ll send you to the converter.
