[
https://issues.apache.org/jira/browse/PDFBOX-2777?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14520013#comment-14520013
]
Tilman Hausherr commented on PDFBOX-2777:
-----------------------------------------
Yes, but the new code does
{code}
String ext = name.substring(dot + 1).toLowerCase();
{code}
so it is already lowercase.
> Create convenience method to create an XImage object
> ----------------------------------------------------
>
> Key: PDFBOX-2777
> URL: https://issues.apache.org/jira/browse/PDFBOX-2777
> Project: PDFBox
> Issue Type: Improvement
> Components: PDModel
> Affects Versions: 2.0.0
> Reporter: Tilman Hausherr
> Assignee: Tilman Hausherr
> Priority: Minor
> Fix For: 2.0.0
>
>
> As suggested by [~jahewson] on the user mailing list. The convenience method
> PDImageXObject.createFromFile() will replace the long code that is in the
> ImageToPDF and AddImageToPDF examples.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]