This has likely been done, and maybe with smaller code, but perhaps not any easier than this.
Include any 128x128 PNG of any number of colors directly in the same directory you run this. Name it "pic.png"
In PICO, boot it up, then type:
Make sure you have that "pic.png" picture in the same folder, or go to make it now. It must be 128x128 pixels in size but can have any number of colors.
Then RUN the program. Sometimes it needs a 2nd run to find the picture.
When you see your picture appear successfully, the transfer has been done.
Then anywhere in the PIco-8 FORUM, in your own message, press CTRL-V. You will paste a PICO-Compatible picture with sharp pixels and no blur. Confirm with PREVIEW.
If you instead tried to import in the forum a 128x128 pixeled picture, either .JPG or .PNG and then tried to rescale it to make it appear any bigger than its true 128x128 size, it comes out all blurry and dithered. This method is especially made for this forum, sharp pixels !
So feel free to share your artwork and holiday pictures, directly in the forum. :)
Here is that picture above. All I did was run the program, then back in the forum, press CTRL-V, and the PICO Forum picture is inserted. It looks a little like this in the forum message editor:
[gfx ]80807777666676777777777777777777777777777777777777777777777777777777777777777777777777777........ 7777777777767c[ /gfx]
Clicking PREVIEW from there, it automatically gets converted to this:
Hope This Helps !
[Please log in to post a comment]