[poppler] File size doubling when saving with changes

Adam Reichold adamreichold at myopera.com
Mon Mar 25 12:47:35 PDT 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

Am 25.03.2013 20:40, schrieb Albert Astals Cid:
> El Dilluns, 25 de març de 2013, a les 20:36:19, Adam Reichold va
> escriure: Hello again,
> 
> Since bug reports are currently opened,
> 
>> What do you mean by that?

Nothing substaintial, sorry about the noise. (Actually, just that I
was logging into the FDo bug tracker to subscribe to the
UniqueFileStream bug.)

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

Ok, I create a bug report then to track this properly.

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

iQEcBAEBAgAGBQJRUKnXAAoJEPSSjE3STU34IF8IAMsM8TecouWaU9Oj3B9F5PL/
o411AOHnyBK881lLjP0srPuLFx4x06KAUd6kflBIELiCu/HaCzj/McKJsxp/JoYW
vIh3An1WSilj4bDat6Z9Q2RC+fcfH15YCsOvhixN4tWwLJhT5dWzVeMdxuxcGbcY
OrNqgKMQOc4JdLLe8MsQ3RDid4Vj00mddpXH/Ff0VyuN1XIkPcsrMkCgD1LKGCar
SpWf936Qu6ufv+Sw2/9RprVAvxuIHThjsV6Oa24ojvnzGDmKPmcucvbI3n+GsHR8
UqsLpvY6Jj3R6ds44rtSvNoiJ6THfE00/Q0/Y7B9Ts8Ef39aLPNLtFEnSubfEcg=
=eaNI
-----END PGP SIGNATURE-----


More information about the poppler mailing list