Author Topic: Bitmap compression  (Read 2441 times)

0 Members and 1 Guest are viewing this topic.

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Bitmap compression
« 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).

Offline Runer112

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Bitmap compression
« Reply #1 on: June 04, 2013, 03:53:58 pm »
Could you provide example maps? Different approaches could perform better on different data.

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: Bitmap compression
« Reply #2 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.
« Last Edit: June 04, 2013, 03:59:30 pm by Streetwalker »

Offline Runer112

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Bitmap compression
« Reply #3 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.