Any tool to transform an image to numbers?

I would like to add an image in my arcade game. Can I upload? Can I transform it to numbers with some application and copy-paste to the javascript tab?

Any way instead of… paint it?
Tks

Sadly, you can’t upload an image in MakeCode Arcade.

But, Adafruit does have a tutorial on converting a .png to a JavaScript array by using this tool:
https://riknoll.github.io/pxt-arcade-asset-tool/
You can see the tutorial here at:

1 Like

Thak you @UnsignedArduino. It’s perfect. Just what I was looking for.
Thanks a lot.

2 Likes

No problem! :slightly_smiling_face: