[A83] Re: ZPic83 compression


[Prev][Next][Index][Thread]

[A83] Re: ZPic83 compression




> I guess it's a lot better than RLE on most pictures. RLE is just a system
> that marks repeated bytes, so:
>
> $12,$12,$12,$12,$12
>
> will be stored as [special byte],$05,$12. Since these repetitions are not
> very rare in monchrome pictures you can use it to compress it. But you can
> see that there are lots of possibilities that wouldn't compress at all.

I use a pixel-per-pixel RLE encoding for my pics, with this method you get
very little or no overhead at all if you have many places with over eight
pixels
of the same kind in succession.

0b,0b,0b,0b,0b would become

$5

/Jens




References: