This isn't directed at any one person in particular, but sometimes it's like
pulling teeth (American expression, means difficult) to get a simple yes/no
question answered. I realize that a lot of people complain or ask questions
that can be easily looked up using google or in the book (which I bought for
just those occasions). But everyone jumped on the first sentence of my
original post and didn't seem to read down to the actual question that I
had. I try to include as much relevant information as I think useful, but I
wonder if I should just ask the question first and provide information as
it's asked for to prevent this type of response in the future.

Edward W. Rouse


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Hans-Werner Hilse
Sent: Monday, August 11, 2008 11:33 AM
To: [email protected]
Subject: Re: [iText-questions] Question on compression.

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


-------------------------------------------------------------------------
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