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

JPEGFactory should not decode JPEG files when only meta data is needed

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.17
    • 2.0.18, 3.0.0 PDFBox
    • None

    Description

      JPEGFactory.createFromByteArray calls JPEGFactory.readJPEGRaster to get the (decoded) raster although only meta data (size and number of data elements) is needed. This should be optimized so that only the meta data is used, if possible. The current behavior should be kept as fallback.

      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: