Gergely Hajdu wrote:

Hi Thomas,

The quality of the picture is REALLY not important. It
will just contain plain text, so resolution/number of colours
etc. etc. is absolutely not important. As long as the text can
be seen it is enough.

The reason why I think it can be compressed this much is that
the TIFF without any compressing is 4 GB. But I first created a PDF
with FOP and then found a tool that converts PDF to TIFF. With this tool, the TIFF-image became 20 000 bytes. The problem is that
this tool is NOT for free...

What pixel-size did that TIFF image have?


If you're dabbling in TIFF you should try to install libtiff (works on any Unix and Windows AFAIK) which has a small program "tiffinfo" that prints a lot of useful information about a TIFF image.

You can get rather high compression rates in TIFF by using bilevel (black and white) with CCITT-G4 encoding if your images have large white or black areas.

Otherwise the only way to reach such a compression rate is lossy encoding like JPEG.

For doing anything image-related in Java have a look at:

http://www.geocities.com/marcoschmidt.geo/java-image-coding.html

Cheers
        Robert


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to