ICEpdf
  1. ICEpdf
  2. PDF-692

Levigo JBIG2 library check is generating verbose logging

    Details

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

      Description

      In 5.0.4 the newly licensed Levigo JBIG2 library was added to the pro bundles. The code used to load try and load the class reflectively would try for every image found in a document which could result many log writes as the error was reported as a warning.

      I've updated the ImageStream to check once for the Levigo JBIG2 library and cache the result for subsequent checks. The end users should only see one fine level log message indicating if the Levigo JBIG2 library was successfully loaded or not.

        Activity

        Patrick Corless created issue -
        Hide
        Patrick Corless added a comment -

        Check in fix for both trunk and 5.0.1 branch.

        Show
        Patrick Corless added a comment - Check in fix for both trunk and 5.0.1 branch.
        Patrick Corless made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #39081 Tue Dec 03 10:51:51 MST 2013 patrick.corless PDF-692 updated Levigo JBIG2 class path check to occure at startup and not for every call to jbig2Decode().
        Files Changed
        Commit graph MODIFY /icepdf/branches/icepdf-5.0.1/icepdf/core/src/org/icepdf/core/pobjects/ImageStream.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #39082 Tue Dec 03 10:52:00 MST 2013 patrick.corless PDF-692 updated Levigo JBIG2 class path check to occure at startup and not for every call to jbig2Decode().
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/ImageStream.java
        Arran Mccullough made changes -
        Salesforce Case Reference 5007000000Y1J1dAAF
        Patrick Corless made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: