You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Andreas Lehmkühler (JIRA)" <ji...@apache.org> on 2016/01/25 19:26:39 UTC
[jira] [Resolved] (PDFBOX-3209) Overlay class does not work with
in-memory PDFs
[ https://issues.apache.org/jira/browse/PDFBOX-3209?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andreas Lehmkühler resolved PDFBOX-3209.
----------------------------------------
Resolution: Fixed
Assignee: Andreas Lehmkühler
The overlay method provides the resulting pdf so that the caller has full control on how to save it
> Overlay class does not work with in-memory PDFs
> -----------------------------------------------
>
> Key: PDFBOX-3209
> URL: https://issues.apache.org/jira/browse/PDFBOX-3209
> Project: PDFBox
> Issue Type: Bug
> Components: Utilities
> Affects Versions: 2.0.0
> Environment: 2.0.0-RC3
> Reporter: Philip Helger
> Assignee: Andreas Lehmkühler
> Fix For: 2.0.0
>
> Attachments: pdfbox3209.patch
>
>
> The class {{org.apache.pdfbox.multipdf.Overlay}} has no possibility to perform the overlay only in memory (using a custom {{OutputStream}}). It is currently fixed to work with files only.
> A suggestion would be to add an overload {{public void overlay(Map<Integer, String> specificPageOverlayFile, OutputStream outStream) throws IOException}} which uses the outStream if supplied and falls back to {{outputFilename}} if null is passed (would be an easy solution)
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org