View Single Post
Old 10 January 2021, 17:27   #55
pink^abyss
Registered User
 
Join Date: Aug 2018
Location: Untergrund/Germany
Posts: 408
Quote:
Originally Posted by pink^abyss View Post
haha.. nice idea ..

well, i think there are more controllable solutions that also have more leverage. For instance, a simple solution is to convert images to 8bit chunky, instead of planar. This gets you usually much better packing ratio. For images like the title screen this is an option. I used that trick for almost all graphics in the CODA intro, otherwise it would have not been possible in 64k.
The chunky compression trick freed almost 7kb.

For coders here some compression stats comparing LZ compression for a detailed pixeled image in planar or 8bit chunky format:

Source:
256 x 224 (5 Planes, interleaved)
Size: 35840 bytes

Doynax compressed
Ratio: 36% reduction

8bit Chunky
Doynax compressed
Ratio: 55% reduction

tldr:
Use 8bit chunky for compressing planar images if you need ~50% better compression ratio. Non interleaved may yield differerent results.
pink^abyss is offline  
 
Page generated in 0.04196 seconds with 11 queries