[ 
https://issues.apache.org/jira/browse/PDFBOX-4529?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16846881#comment-16846881
 ] 

Tilman Hausherr edited comment on PDFBOX-4529 at 6/6/19 4:51 PM:
-----------------------------------------------------------------

For the problems you mentioned on the mailing list - please create a file named 
"logging.properties" and its content should be this:
{code:java}
handlers=java.util.logging.FileHandler
.level=FINEST
java.util.logging.FileHandler.level=ALL
java.util.logging.FileHandler.pattern=./pdfbox.log
java.util.logging.FileHandler.formatter=java.util.logging.SimpleFormatter
{code}
Then run the tool with this parameters:
{code:java}
java -Djava.util.logging.config.file=logging.properties -jar 
pdfbox-app-3.0.0-20190523.171638-1257.jar ImageToPDF .....arguments…..
{code}
The log content will be in the file "pdfbox.log". Adjust any paths if needed. 
If you don't get any log output then the java tool was neer called. A new jar 
file is available at the bottom of this page:
 
[https://repository.apache.org/content/groups/snapshots/org/apache/pdfbox/pdfbox-app/3.0.0-SNAPSHOT/]

Don't forget to give feedback, because I will revert these changes soon.


was (Author: tilman):
For the problems you mentioned on the mailing list - please create a file named 
"logging.properties" and its content should be this:
{code:java}
handlers=java.util.logging.FileHandler
java.util.logging.FileHandler.level=ALL
java.util.logging.FileHandler.pattern=./pdfbox.log
java.util.logging.FileHandler.formatter=java.util.logging.SimpleFormatter
{code}
Then run the tool with this parameters:
{code:java}
java -Djava.util.logging.config.file=logging.properties -jar 
pdfbox-app-3.0.0-20190523.171638-1257.jar ImageToPDF .....arguments…..
{code}
The log content will be in the file "pdfbox.log". Adjust any paths if needed. 
If you don't get any log output then the java tool was neer called. A new jar 
file is available at the bottom of this page:
 
[https://repository.apache.org/content/groups/snapshots/org/apache/pdfbox/pdfbox-app/3.0.0-SNAPSHOT/]

Don't forget to give feedback, because I will revert these changes soon.

> 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
>            Assignee: Tilman Hausherr
>            Priority: Minor
>             Fix For: 2.0.16, 3.0.0 PDFBox
>
>         Attachments: export_img_pdf.pdf
>
>
> 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: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org

Reply via email to