Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-3199

JPEG input file not closed when creating PDImageXObject

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0
    • PDModel
    • None

    Description

      In PDImageXObject, this code

      return JPEGFactory.createFromStream(doc, new FileInputStream(file));
      

      results in an unclosed file.

      Attachments

        Activity

          People

            tilman Tilman Hausherr
            tilman Tilman Hausherr
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: