# Pixel Art

**URL:** <https://forums.pimoroni.com/t/pixel-art/6737>\
**Category:** Support\
**Created:** [December 28, 2017, 11:12pm UTC](https://forums.pimoroni.com/t/pixel-art/6737 "2017-12-28T23:12:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![MrObvious](https://avatars.discourse-cdn.com/v4/letter/m/c0e974/32.png) [@MrObvious](https://forums.pimoroni.com/u/MrObvious)\
**Post date:** [December 28, 2017, 11:12pm UTC](https://forums.pimoroni.com/t/pixel-art/6737/1 "2017-12-28T23:12:54Z")

</div>

Hi  
I have a unicornHatHD which I love and I would love want to use it to display some pixel art. Please could some one point me in the right direction for creating my own 16x16 pixel art and saving it in the correct format to use with the unicornHatHD

Thanks

---

<div class="post-metadata">

**Author:** ![gadgetoid](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/gadgetoid/32/13_2.png) [@gadgetoid](https://forums.pimoroni.com/u/gadgetoid)\
**Post date:** [December 29, 2017, 9:21am UTC](https://forums.pimoroni.com/t/pixel-art/6737/2 "2017-12-29T09:21:32Z")

</div>

Any graphics package that can save out a PNG image file would suffice. Then this example will display that file: [https://github.com/pimoroni/unicorn-hat/blob/master/examples/hat/show\_png.py](https://github.com/pimoroni/unicorn-hat/blob/master/examples/hat/show_png.py)

If you’re already comfortable with an editor, use that and save out as a 24bit PNG. Otherwise you could give GIMP a try since it’s free and will run on more or less anything: [https://www.gimp.org/](https://www.gimp.org/)

---

<div class="post-metadata">

**Author:** ![MrObvious](https://avatars.discourse-cdn.com/v4/letter/m/c0e974/32.png) [@MrObvious](https://forums.pimoroni.com/u/MrObvious)\
**Post date:** [December 29, 2017, 9:43pm UTC](https://forums.pimoroni.com/t/pixel-art/6737/3 "2017-12-29T21:43:48Z")

</div>

Thanks for that. I have found a great app that I can use to make the art works well.

On another note I have gotten one 16x16 png image showing on the Unicorn HAT HD, by editing the show\_png.py example which works well. However, I want to incorporate showing the image with a button push and so want to be able to code showing the image in the most basic way possible. I know the show\_png.py file has code for interating though a matrix of pixel art. I am having trouble simplyfing it down any help would be greatly appreciated.

Thanks

---

<div class="post-metadata">

**Author:** ![gadgetoid](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/gadgetoid/32/13_2.png) [@gadgetoid](https://forums.pimoroni.com/u/gadgetoid)\
**Post date:** [January 4, 2018, 2:29pm UTC](https://forums.pimoroni.com/t/pixel-art/6737/4 "2018-01-04T14:29:09Z")

</div>

I’ve answered over in your other post: [Unicorn HAT HD story project](https://forums.pimoroni.com/t/unicorn-hat-hd-story-project/6814)
