[poppler] File size doubling when saving with changes

Albert Astals Cid aacid at kde.org
Mon Mar 25 12:40:22 PDT 2013


El Dilluns, 25 de març de 2013, a les 20:36:19, Adam Reichold va escriure:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hello again,
> 
> Since bug reports are currently opened, 

What do you mean by that?

> does the test case have the
> file size doubling behavior for other people as well?

Yes, i think i tried and happened, didn't have time to find out why.

Cheers,
  Albert

> 
> Regards, Adam.
> 
> Am 22.03.2013 18:17, schrieb Adam Reichold:
> > Hello Albert,
> > 
> > Am 21.03.2013 23:46, schrieb Albert Astals Cid:
> >> El Dijous, 21 de març de 2013, a les 19:33:35, Adam Reichold va
> >> escriure: Hello,
> >> 
> >> I just had a user point out to me that when using the Qt
> >> frontend's PDFConverter to save a file with changes (irrespective
> >> of whether some were actually made) will double the file size in
> >> every iteration. (Tested with it a few files using Poppler
> >> 0.22.1.)
> >> 
> >> I suspect this has something to do with incrementally updating
> >> the document structure? Is this a known limitation in calculating
> >> the change set or something like that or should I rather open a
> >> bug report to track this?
> >> 
> >>> This should not happen, are you saving the file over itself?
> >>> Probably not, last time i tried i think that destroyed the file
> >>> 
> >>> :D
> > 
> > No, I am save to a different file in every step.
> > 
> >>> Also as far as i remember we have code that does nothing if you
> >>> don't do any change.
> >>> 
> >>> Cheers, Albert
> > 
> > I attached a test case that triggers the behavior. Maybe my usage
> > of the PDFConverter is wrong. As it is, the program yields an 800
> > MB file from starting with a 1.5 MB file for me, using Poppler
> > 0.22.1.
> > 
> > Best regards, Adam.
> > 
> >> Best regards, Adam.
> >> 
> >>> _______________________________________________ poppler mailing
> >>> list poppler at lists.freedesktop.org
> >>> http://lists.freedesktop.org/mailman/listinfo/poppler
> >> 
> >> _______________________________________________ poppler mailing
> >> list poppler at lists.freedesktop.org
> >> http://lists.freedesktop.org/mailman/listinfo/poppler
> >> 
> >> 
> >> 
> >> _______________________________________________ poppler mailing
> >> list poppler at lists.freedesktop.org
> >> http://lists.freedesktop.org/mailman/listinfo/poppler
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.19 (GNU/Linux)
> 
> iQEcBAEBAgAGBQJRUKczAAoJEPSSjE3STU34ygcH/RRB4+gqZ3PyvLzGSdIEMh7F
> rPtk3WzXfL6D2ak3hF4h+cWws7V2u8tsDp19Gr2tj9yKgk4XuzNXZyI1ERdEE/uC
> yGmnKhECWCMu4zMghaLfGBaEz8y5moAY5stG5IY+ZGJtU4IjhxVkeZuLrdo0sTaa
> /lxDx95qIvQXGmsOd6+nXy7dWOXf4+j2tSRlcyNeFxka9b4LzyGXPmX7NDRiQh3W
> qZgKnSCUONF/SEWBX2CVlbt354KOge7N9k5Tz690fZCmT6zL8aH7LbT5OuK027kK
> zxBKOu4duh5qE4Fby5H6L7wEKkOpd4+1BD+kge56fvzQ7wrZhRRXWoh95zk3ot4=
> =17nA
> -----END PGP SIGNATURE-----
> _______________________________________________
> poppler mailing list
> poppler at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/poppler


More information about the poppler mailing list