Log In  
Log In  

I wrote a little tool, that converts 128x128 .png images to native .p8 code. It does not import the image to mapdata, (like https://www.lexaloffle.com/bbs/?tid=2715), but converts it to native code.

https://github.com/nodepond/pic2pico/

Currently only exact matching colors are transfered into code.

This tool might be useful, if you want a background, but also have sprites for i.e. displaying text. Of of the next features might be some compressing of image data, to show even more images.

P#23760 2016-06-27 17:44 ( Edited 2018-01-03 23:05)

Made a small update:

Colors are converted now with a little bit of color-tolerance. Some (pixel)-editors do not use the 100% exact pico-8 colors, so now converting into .p8 is got a little bit more failsave.

It's available here: https://github.com/nodepond/pic2pico/

P#47845 2018-01-03 18:05 ( Edited 2018-01-03 23:06)

[Please log in to post a comment]

X
About | Contact | Updates | Terms of Use
Follow Lexaloffle:        
Generated 2018-12-12 23:02 | 0.015s | 2097k | Q:18