Artem created PDFBOX-5527:
-----------------------------

             Summary: The pages option does not work correctly for the overlay 
command
                 Key: PDFBOX-5527
                 URL: https://issues.apache.org/jira/browse/PDFBOX-5527
             Project: PDFBox
          Issue Type: Bug
          Components: Utilities
    Affects Versions: 2.0.27
            Reporter: Artem


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



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to