Comments

Log in with itch.io to leave a comment.

So I got this tool as a part of the pico-8 premium bundle, and I deeply want to use it, but I use mac and can't, is there any way to use it on here?

Hello, 
There is no version dedicated to Mac or Linux, sorry.
However, as a workaround:
- On Linux you can use wine to run it (Shortround here below in the comments tested on it worked fine)
- On Mac, I don't know if there are similar tools or virtual machine to do the same trick.

I'm not very technologically advanced, nor do I remember well what I do know about making pico-8 carts, but can't you export to any platform you want, and if you can't, can't you just get the plain cartridge?

(1 edit)

When you create something on Pico-8, yes, you can export as ".p8" cartridge, or export to Windows/Linux/Mac executable, or even to a HTML5 page playable in browser.

However Image-To-Pico8 Converter is not a Pico-8 cartridge. It's written in C++/Allegro (and not in Lua) and it can be run only on Windows.

So no, i can't.

Well, thanks for the help!

Hi Anto, I am having some trouble getting image to pico8 converter to work on my computer.  I am using Windows 10, and the program crashes before opening.  Would you happen to know of a way that I might be able to fix the application to run?  Thanks!

(1 edit)

Hi Nick, 

I'm using Windows 10 too. 

Did you open a Windows Console? Could you check the troubleshooting section here: https://anto80.com/en-us/image-processing/imagetopico8-image-convert-options-lis...

If you still have the problem, could you share a screenshot of the error message?

Edit: Do you have administrator privileges on your machine?

Thanks

(+1)

Hey Anto,

Thanks a lot for your help!  This is exactly what I needed.  I got the program running in the Command Prompt now!  I am looking forward to using it.


Thanks :)

(+1)

Great utility, works perfectly on linux using wine, so if you're a linux user, this will work great for you

Thanks for your feedback on Linux! I greatly appreciate! :) 

And thanks for your nice words about the image utility itself! I'm pleased you like it!

(+1)

This is a wonderful utility! Thank you for making it.

If possible, could you please add some code samples for putting GIF images into P8 files, or for "faking" the GIF effect in P8? Your other tutorials are good, but I did not see anything like this.

(1 edit) (+1)

Thanks for your support and nice words!

I appreciate your feedback! Sure! In fact, such still pictures/examples with associated commands and the results would be an improvement.  About how to provide them, maybe an online "recap" page, as well as a downloadable separate example zip, with images full credits/source.

Also, I'd like to keep all my examples license-free, that is why I use resources from websites like unsplash.

As for converting images into animated p8, only the cosine example provided exists for now. I didn't include p8 code to simulate the noise effect because if your GIF has n frames, it would require n times the space in map data section, and I can't think about an elegant and compressed way to achieve this for now.

(+1)

Hey Aeneas Nin !

Further to your comment about “faking the GIF effect” in P8, I have been thinking for a long time how I can workaround this issue. I’m glad to tell you that I now have a solution as “P8 code” ! (along with the existing feature which creates GIFs)

Latest version now produces Pico8 lua code (in __lua__ section of the p8 file) which integrates a small program to display the image on Pico8 screen. This includes a list of “changing pixels” calculated by ImageToPico8 and then drawn on Pico8 side. The rendering of these innerstate noise pixels simulates the animation of the image.

In my first experiments, I was storing pixels as {x,y} coordinates. Then, I decided to store only the address (number between 0 and 16384 for a 128x128 screen) to save 50% of the tokens. Finally, what is ultimately stored are the differences between the current address and the previous address, thus saving some bytes. 

This new feature takes “87+n” tokens: one token for each “changing pixel” you want to draw (“n”) and 87 tokens for the built-in program itself.

  • You can adjust the number of tokens to allocate in your final p8 file (with the option -noisetokensNNNN : Allocate NNNN tokens of Pico-8 code) default is 2000 tokens = 1913 pixels.
  • You can remove comments in Pico-8 code to reduce byte size (“--” keywords) with option -nocommentsp8 

I would love to have your feedback on this update. If you like it, the RT of this tweet would be much appreciated ! Thanks ! :)