To some extent, yes - it was for 1bit faxes, so it does make some assumptions 
are how the white vs. black is laid out...if you've got something with more 
common repeating patterns, then it may indeed be that the Huffman tables of 
Flate will yield better compression.

Leonard

-----Original Message-----
From: Giles Alexander [mailto:[email protected]] 
Sent: Wednesday, April 08, 2009 7:55 AM
To: Post all your questions about iText here
Subject: Re: [iText-questions] Compressing monochrome bitmaps using deflate

On 08/04/2009, at 9:31 PM, Leonard Rosenthol wrote:

> Interesting that you find that since CCITT G3/G4 should almost  
> always compress 1bit images better than Flate does, since it's  
> designed for that type of data.

Yes, it's surprising how much worse (about an order of magnitude)  
CCITT is. The bitmap I am trying to compress is computer generated and  
very regular. CCITT was designed for handwriting and typed words, right?

Giles

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php

Reply via email to