You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2018/08/20 17:09:00 UTC

[jira] [Commented] (PDFBOX-4295) Don't create intermediate streams when merging files

    [ https://issues.apache.org/jira/browse/PDFBOX-4295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16586232#comment-16586232 ] 

ASF subversion and git services commented on PDFBOX-4295:
---------------------------------------------------------

Commit 1838439 from lehmi@apache.org in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1838439 ]

PDFBOX-4295: don't create imtermediate streams when merging files

> Don't create intermediate streams when merging files
> ----------------------------------------------------
>
>                 Key: PDFBOX-4295
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4295
>             Project: PDFBox
>          Issue Type: Improvement
>          Components: Utilities
>    Affects Versions: 2.0.11, 3.0.0 PDFBox
>            Reporter: Andreas Lehmkühler
>            Assignee: Andreas Lehmkühler
>            Priority: Major
>             Fix For: 2.0.12, 3.0.0 PDFBox
>
>
> from dev@pdfbox posted by [~tilman]
> {quote}
> While looking at
> https://stackoverflow.com/questions/51564781/error-merging-large-pdf-files-with-pdfbox-missing-end-of-file-marker-eof/
> I noticed that the merge utility makes streams from files... which means that whole files are getting cached to allow random access. IMHO it would be better to keep files as files and streams as streams, i.e. have an array of objects and then "do the right thing". 
> {quote}
> It doesn't makes sense to create intermediate streams, PDDocument.load should handle different ways of input



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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