ICEpdf
  1. ICEpdf
  2. PDF-334

PDF converted to image results in part of the image missing content

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.2.2
    • Fix Version/s: 4.3
    • Component/s: Core/Parsing
    • Labels:
      None
    • Environment:
      CentOS 5.4, Java 6

      Description

      Attached PDF when rendered to a PNG is missing part of its content. We traced it down to Stream.java and put in a temporary fix that works for us but might not be appropriate for all users. At some point we would hope you could put this on your roadmap to fix permanent so we don't have to maintain this modified version.

      Thanks
      D
      1. Stream.java
        131 kB
        Contractpal Inc.
      2. A.pdf
        615 kB
        Contractpal Inc.

        Activity

        Hide
        Contractpal Inc. added a comment -

        Files that demonstrate the issue.

        Show
        Contractpal Inc. added a comment - Files that demonstrate the issue.
        Hide
        Patrick Corless added a comment -

        Thanks you for the patch code. The patch appear to be valid and as the suggested we are not handling masking for this type of JPEG image. I'll take a closer look to see if the masking can be done without creating a new image to avoid a memory spike during decode.

        Show
        Patrick Corless added a comment - Thanks you for the patch code. The patch appear to be valid and as the suggested we are not handling masking for this type of JPEG image. I'll take a closer look to see if the masking can be done without creating a new image to avoid a memory spike during decode.
        Hide
        Patrick Corless added a comment -

        Looks like this issue was addressed with PDF-319. The patch provide was pretty close to what is on the trunk. Marking as Resolved.

        Show
        Patrick Corless added a comment - Looks like this issue was addressed with PDF-319 . The patch provide was pretty close to what is on the trunk. Marking as Resolved.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: