You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Artem (Jira)" <ji...@apache.org> on 2022/10/18 05:47:00 UTC

[jira] [Created] (PDFBOX-5527) The pages option does not work correctly for the overlay command

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: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org