pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pierre Huttin <pie...@huttin.com>
Subject Re: Working with PDF larger than 2GB
Date Wed, 20 Mar 2013 16:04:52 GMT
Hi Maruan,

Ok I will create a issue in the Jira.

Pierre Huttin

On 20.03.2013 16:42, Maruan Sahyoun wrote:
> Hi Pierre,
>
> it could well be that some of the code still reads an int where it
> should read a long. For smaller files this is not an issue but for
> larger ones - like yours - this will be. Could you file an issue with
> a description so we do not forget about it.
>
> Unfortunately fixing the StartXref only might not be sufficient as
> there are other places where an int is read instead of a long I think
> e.g. when parsing the Xref entries. We need to check that.
>
> Maruan Sahyoun
>
> Am 20.03.2013 um 16:31 schrieb Pierre Huttin <pierre@huttin.com>:
>
>> Hello,
>>
>> I'm currently working on very large PDF file (more then 115000 pages 
>> and 21GB) I have try to use the loadNonSeq (because load with 
>> scratchfile will create a second 21GB file), but unfortunately when 
>> the parser try to parse the StartXref I receieve the following error :
>>
>> Error: Expected an integer type, actual='22580639698'
>>
>> is it working as design or is possible to replace the readInt in 
>> BaseParser by a readLong method ?
>>
>> Best regards,
>>
>> Pierre Huttin
>>
>>

Mime
View raw message