ICEpdf
  1. ICEpdf
  2. PDF-1288

Improve loading of large Jbig2 and JPG200 images

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 6.3.1
    • Fix Version/s: 6.3.2
    • Component/s: Core/Parsing
    • Labels:
      None
    • Environment:
      any

      Description

      Trying to clean up some old code I have laying around. This particular patch adds code to AbstractImageDecoder to scale images that fall outside a reasonable size. In this particular case the images over 7000x7000 pixels will be scaled down to max edge of 1500 pixels. The intent being that the various image decoders can use the same rules for trying to scale down images or masks.

      Three more system properties to handle configuration
      org.icepdf.core.imageDecoder.maxwWdth
      org.icepdf.core.imageDecoder.maxwHeight
      org.icepdf.core.imageDecoder.preferredSize

      Current candidates for the new code are DctDecode, JpxDecode as they are the most common image types we have memory problems with.

        Activity

          People

          • Assignee:
            Patrick Corless
            Reporter:
            Patrick Corless
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: