[
https://issues.apache.org/jira/browse/PDFBOX-4529?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16827819#comment-16827819
]
Tilman Hausherr commented on PDFBOX-4529:
-----------------------------------------
Should each image be on its own page? What page size should the PDF be if the
image has the size 3508 x 2480 pixels? And if the image is 800 x 800 pixels?
And if it is 100 x 100 pixels?
There is a ImageToPDF.java tool in the examples subproject, but it does not
have any options, and can do only one page (but it is obvious what there is to
do to have many pages). The problem is supporting the many options there must
be to do this right. Just try the two example sizes and you'll see what I mean.
> ImageToPDF as Command Line
> --------------------------
>
> Key: PDFBOX-4529
> URL: https://issues.apache.org/jira/browse/PDFBOX-4529
> Project: PDFBox
> Issue Type: Improvement
> Components: Utilities
> Affects Versions: 2.0.15
> Reporter: Bidouille
> Priority: Minor
>
> That will be fine to have this method to export image (png, jpg, etc) in PDF
> file.
> This will take a list of image files and merge them, saving the result in a
> new document.
> Usage: {{java -jar pdfbox-app-2.y.z.jar ImageToPDF <Source image files (1
> ..n)> <Target PDF file>}}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]