Here we go:
https://mega.nz/#F!RLZn1KYR!ChydVBbdCzWSc1qyKJRtlg

The PDFBox document is in two versions as I tried to optimize the size by 
avoiding calls to setContentStreamFont(...) and setNonStrokingColor(...) if not 
strictly necessary.
Nevertheless, as I could except, the size of compressed document changes very 
little.

Fabio


Fabio Vassallo
Product Development (CIS)


Würth Phoenix S.r.l.
via Kravogl 4, 39100 Bolzano
T: +39 0471 564 116
F: +39 0471 564 122
Website | e-Mail | Map

          


-----Original Message-----
From: Tilman Hausherr [mailto:[email protected]] 
Sent: Monday, June 12, 2017 5:27 PM
To: [email protected]
Subject: Re: Size of compressed files

Am 12.06.2017 um 12:23 schrieb Vassallo, Fabio:
>
> Good morning.
>
> I have an issue concerning the size of generated PDF files
>
> I have generated some (almost) identical PDF files using iText and PDFBox.
>
> When uncompressed, the sizes are comparable, while if I use 
> compression (in PDFBox I set to true parameter "compress" in 
> constructor of PDPageContentStream), the PDFBox ones are much bigger 
> (around 2 to 5 times bigger).
>
> Is it a known issue? Is there a way/workaround to have smaller sizes?
> Could I leave the files uncompressed and use a separate library to 
> compress them?
>

Please upload the files to a sharehoster so that I can have a look at them.

Tilman

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to