8-Bit String Picture Compressor 2021

0
0
Published 2023-06-12



TO LOAD THIS PICO-8 CART
in immediate mode type out:

Hello. There have been a few picture compressors running around Pico-8 haven't there ? And a good chunk of them years ago were written by myself.

Well with inspiration in seeing code from @JadeLombax and others, I believe I have come up with a very perfect compressor. For one thing is it does not compress 4-bit, 5-bit. Not even 6-bit or 7-bit ! No it compresses pretty darned close to 8-bit. And in strings !

You can find our conversation HERE:

https://www.lexaloffle.com/bbs/?tid=45300

So what does it mean ? Well it means you're gonna get more bang for your byte than any of my previous 6-bit and even 7-bit compressors.

Included in this cart are images from some popular NES and Sega games to demonstrate its ability.

Run the cart to get the full 50 cent tour.

What separates this from most compressors though is the ability to CHOOSE the number of colors you want to compress. Naturally the less colors there are in your picture, the greater the compression.

The compressor and decompressor are pretty compact in themselves with the compressor at 152-tokens and the decompressor at 98-tokens.

Instructions are fully included in the cart. As always if you have any questions, comments, or kerosene :) feel free to enter them below.