[Coco] Compressed pictures

Diego diegoba at adinet.com.uy
Sat Apr 28 16:44:00 EDT 2007


While writing some of my BASIC programs, I thought about adding a intro screen.
The options were add the drawing commands to the program (slow, limited) or load a graphic screen.
But even a PMODE 3 screen is 6Kb, a bit to much for a 2 Kb program
So I came up with a very simple compression rutine. 2 bit for color, 6 bits for how many pixels of that color. Some sample simple screens came down to just under 1 Kb (I know that some complex screens can become a lot larger than the original)
My question: Is there some format/way to get a screen picture+loader in less than 2 Kb thatls already out there somewhere?

Diego




More information about the Coco mailing list