Hi,

Edward W. Rouse wrote:

> Lol, it wasn't a complaint, it was a question. And it was a valid
> question. I would expect that if I used setCompressionLevel(9) that
> the resulting file should be smaller than using no compression at
> all. It isn't.

Are you comparing an iText generated uncompressed copy with an iText
generated compressed copy? I doubt, I think you're probably comparing
some external generated PDF to a iText-generated compressed copy of it.
Note that PdfCopy can produce bigger output stream than the input
stream.

But then, yes, in some cases you can wind up w/ a bigger file when
compressing data. It all depends on it's randomness.


-hwh

BTW: Is there any reason you don't mention the version of Ghostscript
you're using? Anyway, I think current Ghostscript should compile just
fine on Solaris 10.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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