You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2016/01/19 12:56:39 UTC

[jira] [Resolved] (PDFBOX-3199) JPEG input file not closed when creating PDImageXObject

     [ 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: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org