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

The pages option does not work correctly for the overlay command

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 2.0.27
    • None
    • Utilities
    • None

    Description

      The overlay command began to ignore the first page from the list.

      For example, in the following command produces an overlay only for pages 2 and 3, skipping page 1:

      -jar pdfbox-app-2.0.27.jar OverlayPDF input.pdf -page 1 overlay.pdf -page 2 overlay.pdf -page 3 overlay.pdf -position background output.pdf

       

      But, if I apply the hack and add a zero page, I will get an overlay for pages 1,2 and 3:

      -jar pdfbox-app-2.0.27.jar OverlayPDF input.pdf -page 0 overlay.pdf -page 1 overlay.pdf -page 2 overlay.pdf -page 3 overlay.pdf -position background output.pdf

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              inter74 Artem
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: