pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Lehmkühler <andr...@lehmi.de>
Subject Re: [PDFBOX-2.0] PDF Size after Signature
Date Fri, 27 Feb 2015 10:54:33 GMT
Hi,

> Maruan Sahyoun <sahyoun@fileaffairs.de> hat am 27. Februar 2015 um 09:19
> geschrieben:
> 
> 
> Hi Andreas,
> 
> the changes you made were these before or after the ones I did to COSBase wrt
> to immutable objects (PDFBOX-2685)?
My changes (PDFBOX-1822, PDFBOX-2515) where made prior to PDFBOX-2685. Saying
that, r1659998 could introduce a regression. I had a quick look and maybe the
changes made to COSWriter are the root cause. But we have to debug that first to
be sure.

BR
Andreas Lehmkühler

> BR
> Maruan
> 
> Am 27.02.2015 um 08:45 schrieb Andreas Lehmkühler <andreas@lehmi.de>:
> 
> > Hi,
> > 
> >> Tilman Hausherr <THausherr@t-online.de> hat am 27. Februar 2015 um 07:35
> >> geschrieben:
> >> 
> >> 
> >> Did you just start with signing or is this a recent phenomenon, i.e. 
> >> didn't happen a month ago?
> >> 
> >> I looked at both files - in the 1.8 one, only the changed objects appear 
> >> after EOF. In the 2.0 one, all objects are there ?!
> > Correct, something went wrong when appending the changed objects only. It
> > work
> > for 
> > me when I fixed the encryption stuff. I seems as if some recent change
> > introduced
> > this regression.
> > 
> > @Isaias
> > Which exact version/revision of the trunk are you using?
> > 
> > BR
> > Andreas Lehmkühler
> >> 
> >> Tilman
> >> 
> >> Am 27.02.2015 um 05:44 schrieb Isaias Barroso:
> >>> Hi all,
> >>> 
> >>> I'm using PDFBOX 2.0 to sign some documents and I found that the size of
> >>> signed file is too big if compared with 1.8 version, sometimes those files
> >>> get their sizes  increased in 100% or more. When the same file is signed
> >>> using 1.8 the file is increased in a expected way.
> >>> 
> >>> Original File: https://www.dropbox.com/s/s8p40ukorhchtcu/sign_me.pdf?dl=0
> >>> 
> >>> Signed With 1.8:
> >>> https://www.dropbox.com/s/ty8axylq8ol6204/sign_me_signed_1.8.pdf?dl=0
> >>> 
> >>> Signed With 2.0:
> >>> https://www.dropbox.com/s/ge1x3mdpqlalnvq/sign_me_signed_2.0.pdf?dl=0
> >>> 
> >>> There is some option to reduce the signed file size on 2.0?
> >>> 
> >>> Best regards
> >> 
> >> 
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
> >> For additional commands, e-mail: users-help@pdfbox.apache.org
> >> 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
> > For additional commands, e-mail: users-help@pdfbox.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: users-help@pdfbox.apache.org


Mime
View raw message