ICEpdf
  1. ICEpdf
  2. PDF-221

JPEG2000 ICC colour space support

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.1.1
    • Fix Version/s: 4.1.2
    • Component/s: Core/Parsing
    • Labels:
      None
    • Environment:
      any

      Description

      The file in question displays but the attached ICC_colorspace is not correctly applied. As a result the image comes out pink instead of blue. I tried a few simple test to try an apply the ICC colour space but the ran up against some rendering exceptions. I also tried to apply the alternative CYMK colour space but the image came out more green then blue.

      Further work needs to be done to see why the ICC colour profile can't be applied.
      1. expect_more.pdf
        595 kB
        Patrick Corless

        Activity

        Patrick Corless created issue -
        Patrick Corless made changes -
        Field Original Value New Value
        Salesforce Case []
        Fix Version/s 4.2 [ 10243 ]
        Hide
        Patrick Corless added a comment -

        JPEG2000 ICC colour profile image.

        Show
        Patrick Corless added a comment - JPEG2000 ICC colour profile image.
        Patrick Corless made changes -
        Attachment expect_more.pdf [ 12643 ]
        Arran Mccullough made changes -
        Salesforce Case [5007000000E6WBN]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #23192 Wed Nov 24 07:55:23 MST 2010 patrick.corless PDF-221 jpeg2000 logic to better handle ICCBased color spaces. Also tweaked to Stream method alterRasterCMYK2BGRA to get slightly "better" cmyk colour conversion which effect all cmyk image types.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/graphics/ICCBased.java
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/Stream.java
        Patrick Corless made changes -
        Fix Version/s 4.1.2 [ 10252 ]
        Fix Version/s 4.2 [ 10243 ]
        Hide
        Patrick Corless added a comment -

        Updated the colour space handling for ICC colour profiles to use alternative colour space when available. Also updated the stream class to use a different algorithm for calculating rgb colours from cmyk.

        The client should make sure that JAI 1.1.3 or higher is installed on the class path. The jai_imageio.jar is needed to view JPEG2000 images.

        Show
        Patrick Corless added a comment - Updated the colour space handling for ICC colour profiles to use alternative colour space when available. Also updated the stream class to use a different algorithm for calculating rgb colours from cmyk. The client should make sure that JAI 1.1.3 or higher is installed on the class path. The jai_imageio.jar is needed to view JPEG2000 images.
        Patrick Corless made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: