[
https://issues.apache.org/jira/browse/PDFBOX-3199?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tilman Hausherr resolved PDFBOX-3199.
-------------------------------------
Resolution: Fixed
> JPEG input file not closed when creating PDImageXObject
> -------------------------------------------------------
>
> Key: PDFBOX-3199
> URL: https://issues.apache.org/jira/browse/PDFBOX-3199
> Project: PDFBox
> Issue Type: Bug
> Components: PDModel
> Affects Versions: 2.0.0
> Reporter: Tilman Hausherr
> Assignee: Tilman Hausherr
> Fix For: 2.0.0
>
>
> In PDImageXObject, this code
> {code}
> return JPEGFactory.createFromStream(doc, new FileInputStream(file));
> {code}
> results in an unclosed file.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]