Omnimaga

Calculator Community => TI Calculators => Axe => Topic started by: Streetwalrus on June 04, 2013, 03:43:31 pm

Title: Bitmap compression
Post by: Streetwalrus on June 04, 2013, 03:43:31 pm
Hi !
As you may know, I'm working on an Illusiat 11 remake in Axe. I'm currently trying to figure out how to compress the maps (which are 96*63 bitmaps).
With RLE, I can theoretically reach an average of 25% compression, but are there any more efficient algorithms that are both fast to decompress and easy to implement ?

Note that I have no problem mixing in some ASM (for optimization).
Title: Re: Bitmap compression
Post by: Runer112 on June 04, 2013, 03:53:58 pm
Could you provide example maps? Different approaches could perform better on different data.
Title: Re: Bitmap compression
Post by: Streetwalrus on June 04, 2013, 03:58:40 pm
Here you go. :)
Also since these are TI-OS pics, compressing on-calc would be nice but is not necessary.
Title: Re: Bitmap compression
Post by: Runer112 on June 04, 2013, 04:28:45 pm
Hmm, those look tough to compress. If you're already getting 25% size savings, you're probably doing pretty well for those images. But I'll try to think of other approaches.