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

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

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.17
    • Fix Version/s: 2.0.18, 3.0.0 PDFBox
    • Component/s: None
    • Labels:

      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

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

              Dates

              • Created:
                Updated:
                Resolved: