[jira] [Commented] (PDFBOX-5086) DataFormatException after saving
[ https://issues.apache.org/jira/browse/PDFBOX-5086?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17270276#comment-17270276 ] Tilman Hausherr commented on PDFBOX-5086: - I used the SetField.java example without setting the field and now I realize what the problem is: writing in the same file that is still open. > DataFormatException after saving > > > Key: PDFBOX-5086 > URL: https://issues.apache.org/jira/browse/PDFBOX-5086 > Project: PDFBox > Issue Type: Bug > Components: Utilities >Affects Versions: 3.0.0 PDFBox >Reporter: Tilman Hausherr >Assignee: Andreas Lehmkühler >Priority: Major > Fix For: 3.0.0 PDFBox > > Attachments: SalesUseTaxLA_R-5402_20060705.pdf, > SalesUseTaxLA_R-5402_20060705_BAD.pdf > > > Attached file gets corrupted when saved in 3.0.0, but not in 2.0.*. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org
[jira] [Commented] (PDFBOX-2602) Enhance command line tools
[ https://issues.apache.org/jira/browse/PDFBOX-2602?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17270158#comment-17270158 ] Tilman Hausherr commented on PDFBOX-2602: - In PDFToImage any dpi set from the command line is overwritten, this should only be done when dpi == 0. > Enhance command line tools > -- > > Key: PDFBOX-2602 > URL: https://issues.apache.org/jira/browse/PDFBOX-2602 > Project: PDFBox > Issue Type: Bug > Components: Utilities >Affects Versions: 1.8.8, 2.0.0 >Reporter: Maruan Sahyoun >Assignee: Maruan Sahyoun >Priority: Minor > Fix For: 3.0.0 PDFBox > > > The command line tools shall be enhanced to have the same behavior across all > tools. > From the discussion on the dev mailing list > - add an -h option to print the usage > - print the usage to System.err and use an exit code of 1 if there was an > invalid command line parameter > - print messages on exceptions to System.err > - rethrow the exception so java can handle it if it will terminate afterwards > anyway > - use an exit code of 1if rethrowing doesn't make sense > Additional input: > https://clig.dev/ -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org