ICEpdf
  1. ICEpdf
  2. PDF-470

CCITTFax decoder fails on document

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.3.4
    • Fix Version/s: 5.0.3
    • Component/s: Core/Parsing
    • Labels:
      None
    • Environment:
      any
    • Salesforce Case Reference:

      Description

      The document in question does not correctly decode and does so without error. When I force the JAI decode logic the images does load. Unfortunately I'm not an expert with the CCITTFax specification so I'm left scratching my head a bit.

      I'm thinking about creating an force JAI system property for CCITTFax images as work around for the client. Alternatively I'm going to have to spend quite a bit of time for this one off document learning the specification and debugging the code.

        Activity

        Patrick Corless made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Patrick Corless made changes -
        Fix Version/s 5.1 [ 10675 ]
        Patrick Corless made changes -
        Fix Version/s 5.0.3 [ 11070 ]
        Patrick Corless made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Patrick Corless added a comment -

        Marking on as closed until further feedback from client. The use of org.icepdf.core.ccittfax.jai=true can significantly speed up the rendering of the this PDF.

        Show
        Patrick Corless added a comment - Marking on as closed until further feedback from client. The use of org.icepdf.core.ccittfax.jai=true can significantly speed up the rendering of the this PDF.
        Patrick Corless made changes -
        Fix Version/s 5.1 [ 10675 ]
        Fix Version/s 5.0.1 [ 10872 ]
        Arran Mccullough made changes -
        Salesforce Case Reference 5007000000O9CKwAAN
        Patrick Corless made changes -
        Fix Version/s 5.0.1 [ 10872 ]
        Fix Version/s 5.0 [ 10314 ]
        Patrick Corless made changes -
        Fix Version/s 5.0 [ 10314 ]
        Fix Version/s 4.5 [ 10342 ]
        Migration made changes -
        Field Original Value New Value
        Fix Version/s 4.5 [ 10342 ]
        Fix Version/s 4.3.4 [ 10341 ]
        Hide
        Patrick Corless added a comment - - edited

        I've added the org.icepdf.core.ccittfax.jai system property as a work around hopefully more time can be spent finding out why the original ccittfax algorithm is failing.

        Show
        Patrick Corless added a comment - - edited I've added the org.icepdf.core.ccittfax.jai system property as a work around hopefully more time can be spent finding out why the original ccittfax algorithm is failing.
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #30900 Tue Sep 18 08:48:56 MDT 2012 patrick.corless PDF-470 addition of org.icepdf.core.ccittfax.jai system property to force the use of JAI for CCITTFAX decoding.
        Files Changed
        Commit graph MODIFY /icepdf/branches/icepdf-4.3.3/icepdf/core/src/org/icepdf/core/pobjects/Stream.java
        Patrick Corless created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved: