Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-3209

Overlay class does not work with in-memory PDFs

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.0
    • Component/s: Utilities
    • Labels:
      None
    • Environment:
      2.0.0-RC3

      Description

      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)

        Attachments

          Activity

            People

            • Assignee:
              lehmi Andreas Lehmkühler
              Reporter:
              phax Philip Helger
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: