pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tilman Hausherr <THaush...@t-online.de>
Subject Re: PDFMergerUtility maximum file size limit?
Date Sat, 06 Dec 2014 14:51:33 GMT
Interesting. It happens also when merging the spec and any other file.

Tilman

Am 06.12.2014 um 14:49 schrieb Gilad Denneboom:
> First problem: Download the PDF ISO Specs file (
> http://www.adobe.com/devnet/acrobat/pdfs/PDF32000_2008.pdf), make 3 copies
> of it in the same folder and attempt to merge it using PDFMergerUtility.
> The result is this:
>
> java.lang.IllegalArgumentException: resourceDictionary is null
> Combined as:
>      at org.apache.pdfbox.pdmodel.PDResources.<init>(PDResources.java:68)
>      at
> org.apache.pdfbox.util.PDFMergerUtility.appendDocument(PDFMergerUtility.java:439)
>      at
> org.apache.pdfbox.util.PDFMergerUtility.mergeDocuments(PDFMergerUtility.java:189)
>
>
>
> On Fri, Dec 5, 2014 at 5:24 PM, Gilad Denneboom <gilad.denneboom@gmail.com>
> wrote:
>
>> Thanks, try it out now (this also seems to solve my other issue with the
>> INFO statements)...
>>
>> On Fri, Dec 5, 2014 at 5:01 PM, Maruan Sahyoun <sahyoun@fileaffairs.de>
>> wrote:
>>
>>> http://svn.apache.org/viewvc/pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/pdmodel/AddImageToPDF.java?view=markup
>>>
>>> BR
>>> Maruan
>>>
>>> Am 05.12.2014 um 16:55 schrieb Gilad Denneboom <gilad.denneboom@gmail.com
>>>> :
>>>> OK... Another issue I have with this snapshot is that PDJpeg seems to be
>>>> gone. How do I draw an image onto a PDPageContentStream from a
>>>> FileInputStream?
>>>>
>>>> On Fri, Dec 5, 2014 at 4:49 PM, Maruan Sahyoun <sahyoun@fileaffairs.de>
>>>> wrote:
>>>>
>>>>> with PDFBox 2.0 the NonSequential Parser will be the standard parser.
>>> As a
>>>>> result mergeDocuments() is the method you are looking for.
>>>>>
>>>>> BR
>>>>> Maruan
>>>>>
>>>>> Am 05.12.2014 um 16:44 schrieb Gilad Denneboom <
>>> gilad.denneboom@gmail.com
>>>>>> :
>>>>>> I got the latest snapshot (pdfbox-2.0.0-20141205.082231-763.jar),
but
>>> now
>>>>>> mergeDocumentsNonSeq seems to be completely gone... Am I missing
>>>>> something
>>>>>> here?
>>>>>>
>>>>>> On Fri, Dec 5, 2014 at 4:21 PM, Maruan Sahyoun <
>>> sahyoun@fileaffairs.de>
>>>>>> wrote:
>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> from that information alone I can't tell - could you try the
1.8.8 or
>>>>> 2.0
>>>>>>> Snapshots [1]? There were some enhancements to the non sequential
>>>>> parser.
>>>>>>> Otherwise we'd need a unit test and test documents to reproduce
the
>>>>> issue.
>>>>>>> BR
>>>>>>>
>>>>>>> Maruan
>>>>>>>
>>>>>>> [1] https://pdfbox.apache.org/download.cgi#snapshots
>>>>>>>
>>>>>>> Am 05.12.2014 um 16:05 schrieb Gilad Denneboom <
>>>>> gilad.denneboom@gmail.com
>>>>>>>> :
>>>>>>>> Sorry, I forgot... Here it is: http://imgur.com/XegljjS
>>>>>>>>
>>>>>>>> On Fri, Dec 5, 2014 at 3:43 PM, Maruan Sahyoun <
>>> sahyoun@fileaffairs.de
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> Hi Gilad,
>>>>>>>>>
>>>>>>>>> attachments don't make it through on the mailing list.
Could you
>>>>> upload
>>>>>>> it
>>>>>>>>> to a public location?
>>>>>>>>>
>>>>>>>>> BR
>>>>>>>>>
>>>>>>>>> Maruan
>>>>>>>>>
>>>>>>>>> Am 05.12.2014 um 15:31 schrieb Gilad Denneboom <
>>>>>>> gilad.denneboom@gmail.com
>>>>>>>>>> :
>>>>>>>>>> Hi Maruan,
>>>>>>>>>>
>>>>>>>>>> That's good to know, thanks.
>>>>>>>>>>
>>>>>>>>>> I only have it as a screenshot at the moment... I'm
using
>>>>>>>>> mergeDocumentsNonSeq, as you can see.
>>>>>>>>>> Gilad
>>>>>>>>>>
>>>>>>>>>> On Fri, Dec 5, 2014 at 3:07 PM, Maruan Sahyoun <
>>>>> sahyoun@fileaffairs.de
>>>>>>>>> wrote:
>>>>>>>>>> Hi Gilad,
>>>>>>>>>>
>>>>>>>>>> not that I'm aware of (official or not). What's the
exception
>>> you're
>>>>>>>>> getting?
>>>>>>>>>> BR
>>>>>>>>>>
>>>>>>>>>> Maruan
>>>>>>>>>>
>>>>>>>>>> Am 05.12.2014 um 14:39 schrieb Gilad Denneboom <
>>>>>>>>> gilad.denneboom@gmail.com>:
>>>>>>>>>>> Hi all,
>>>>>>>>>>>
>>>>>>>>>>> Does anyone know if the PDFMergerUtility has
a maximum file size
>>>>>>>>> limit? I'm
>>>>>>>>>>> encountering strange exceptions when the file
size exceeds 500MB
>>> on
>>>>> a
>>>>>>>>>>> Windows 7 computer (NTFS file system), and was
wondering if
>>> there's
>>>>>>>>> some
>>>>>>>>>>> kind of file-size limitation (using PDFBox 1.8.7),
official or
>>> not?
>>>>>>>>>>> Regards, Gilad.
>>>>>>>>>>
>>>>>>>>>
>>>>>>>
>>>>>
>>>


Mime
View raw message