Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.0
    • Fix Version/s: 4.1
    • Component/s: Core/Parsing
    • Labels:
      None
    • Environment:
      Nothing special

      Description

      Addition JPEG2000 image support to ICEpdf rendering core. It looks like there is finally a few open source libraries available for image decoding, http://jpeg2000.epfl.ch/ looks promising.

        Activity

        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Patrick Corless made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Patrick Corless added a comment -

        I'm going to create an new bug to capture the cmyk colour issue. JAI post a warning message "[WARNING]: EOC marker not found. Codestream is corrupted." at the command line but it doesn't seem to effect the image output. I'll take a closer look at this in the future if need be.

        Checking patched Stream.java class.

        Show
        Patrick Corless added a comment - I'm going to create an new bug to capture the cmyk colour issue. JAI post a warning message " [WARNING] : EOC marker not found. Codestream is corrupted." at the command line but it doesn't seem to effect the image output. I'll take a closer look at this in the future if need be. Checking patched Stream.java class.
        Patrick Corless made changes -
        Assignee Mark Collette [ mark.collette ] Patrick Corless [ patrick.corless ]
        Hide
        Patrick Corless added a comment -

        I've taken a closer look at JPEG2000 support and think I've go something that will work for our first offering. It turns out that JAI support JPEG2000 by including the class files for JJ2000 5.1 in the jai_imageio.jar. When trying out different load options I had JJ2000 5.1 on the class path head of the JAI jars and I could reproduce the runtime exception that Mark was seeing. However if JJ2000 was removed from the classpath the images started showing up.

        I only have 12 JPEG2000 sample files but they all load correctly. There is an issue with images that have a CMYK colour space but this is a know issue with other image types as well. The JJ2000 image library can be sped up with the system property -Djj2000.j2k.entropy.encoder.StdEntropyCoder.nthreads=N, where N is 0 by default.

        Show
        Patrick Corless added a comment - I've taken a closer look at JPEG2000 support and think I've go something that will work for our first offering. It turns out that JAI support JPEG2000 by including the class files for JJ2000 5.1 in the jai_imageio.jar. When trying out different load options I had JJ2000 5.1 on the class path head of the JAI jars and I could reproduce the runtime exception that Mark was seeing. However if JJ2000 was removed from the classpath the images started showing up. I only have 12 JPEG2000 sample files but they all load correctly. There is an issue with images that have a CMYK colour space but this is a know issue with other image types as well. The JJ2000 image library can be sped up with the system property -Djj2000.j2k.entropy.encoder.StdEntropyCoder.nthreads=N, where N is 0 by default.
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #21939 Mon Jul 19 07:40:51 MDT 2010 patrick.corless PDF-43 added basic support for JPEG2000 via JAI ImageIO/JJ2000.5.1.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/Stream.java
        Patrick Corless made changes -
        Assignee Patrick Corless [ patrick.corless ] Mark Collette [ mark.collette ]
        Patrick Corless made changes -
        Attachment raw_brochure_v.2005.pdf [ 12171 ]
        Hide
        Patrick Corless added a comment -

        test file

        Show
        Patrick Corless added a comment - test file
        Ken Fyten made changes -
        Salesforce Case []
        Fix Version/s 4.1 [ 10227 ]
        Fix Version/s 4.0 [ 10222 ]
        Hide
        Mark Collette added a comment -

        We should look at ImageIO (and possibly JAI ImageIO Tools) again. They've probably come a ways.

        Show
        Mark Collette added a comment - We should look at ImageIO (and possibly JAI ImageIO Tools) again. They've probably come a ways.
        Ken Fyten made changes -
        Fix Version/s 4.0 [ 10222 ]
        Fix Version/s 4.0 - Beta [ 10212 ]
        Patrick Corless made changes -
        Fix Version/s 3.2 [ 10212 ]
        Fix Version/s 3.1 [ 10181 ]
        Patrick Corless made changes -
        Field Original Value New Value
        Salesforce Case []
        Fix Version/s 3.1 [ 10181 ]
        Affects Version/s 3.0 [ 10180 ]
        Patrick Corless created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved: