[A83] Re: ZPic83 compression


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

[A83] Re: ZPic83 compression




> Writing both is a good idea to check sizes.  but a vertical one would also
> be much larger..

I don't see why thay would be..

> I mean in the end that your 5 bits is compressed into 3, only saving 2.  I
> was thinking of trying to merge the special byte and the run length byte
> somehow but im pretty sure thats useless..

Actually, my five bits is "compressed" into 8.

> Only problem with this way is that, for random pictures (ones with no
runs),
> it would increase the size of thje picture

That's right. PCX uses a kind of "special byte" (more than one), and it
saves space
compared to a simpler kind of RLE algorithm.

/Jens




Follow-Ups: References: