[
https://issues.apache.org/jira/browse/PDFBOX-1838?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Thomas Chojecki resolved PDFBOX-1838.
-------------------------------------
Resolution: Duplicate
Assignee: Thomas Chojecki
This issue is known and duplicates at least PDFBOX-1614.
I will fix it soon, but I haven't the environment right now to fix it. Please
be patient and watch the issue PDFBOX-1614 instead.
> PDDocument.saveIncremental should receive an InputStream instead of
> FileInputStream
> -----------------------------------------------------------------------------------
>
> Key: PDFBOX-1838
> URL: https://issues.apache.org/jira/browse/PDFBOX-1838
> Project: PDFBox
> Issue Type: Improvement
> Components: PDModel
> Affects Versions: 1.8.3
> Environment: Java Servler
> Reporter: Álison Fernandes
> Assignee: Thomas Chojecki
> Priority: Blocker
>
> I'm manipulating a PDF in a servlet, all of the manipulation must be done in
> memory. Unfortunately, the FileInputStream requirement in
> PDDocument.saveIncremental(FileInputStream,OutputStream) blocks me from
> achieving my desired implementation, as the server receives the PDF file in
> an InputStream.
> I believe that the main reason PDDocument is implemented like that is that
> COSWritter forces it to.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)