Hi John,

Yes, it does compression.  Runs of pixels that are the same color (either
on or off) are compressed into either one, two or three bytes depending on
the length of the run.

I did some tests taking a PBM binary file compressed with WinZip and
compared it with the compression in AP.  In some cases, AP is actually
better (small images ... no dictionary needed).  On larger images, WinZip
was only 7-8% better on average.

Ken

On Mon, Apr 24, 2017 at 9:08 AM, John R. Hogerhuis <[email protected]> wrote:

> Very nice!
>
> Does AP do any compression? RLE?
>
> Not a feature request, just curious if, say, an all-black image would be
> smaller than a high entropy image.
>
> -- John.
>

Reply via email to