ICEpdf
  1. ICEpdf
  2. PDF-570

Colour are still inverted in 5.0

    Details

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

      Description

      This issue was originally logged as PDF-522 but does not seem to be resolved in 5.0. The issue may be different than first thought so I have opened a new bug.
      1. 1198_3_2013_EN_1065.pdf
        367 kB
        Tyler Johnson
      2. 1198_3_2013_EN_2022.pdf
        1.32 MB
        Tyler Johnson
      1. 1198_3_2013_EN_1065.png
        211 kB
      2. 1198_3_2013_EN_2022.png
        954 kB

        Activity

        Tyler Johnson created issue -
        Tyler Johnson made changes -
        Field Original Value New Value
        Salesforce Case Reference 5007000000T5c7gAAB
        Tyler Johnson made changes -
        Attachment 1198_3_2013_EN_1065.pdf [ 15832 ]
        Tyler Johnson made changes -
        Attachment 1198_3_2013_EN_2022.pdf [ 15833 ]
        Tyler Johnson made changes -
        Attachment 1198_3_2013_EN_1065.png [ 15834 ]
        Tyler Johnson made changes -
        Attachment 1198_3_2013_EN_2022.png [ 15835 ]
        Hide
        Patrick Corless added a comment -

        Hopefully there won't be too many more of these corners cases. The inverted in images in this case contain cmyk colour space and an inversed colour decode array. I've update this jpeg handling code to take into account the decode array when converting from CMYK to BGRA colour space.

        Show
        Patrick Corless added a comment - Hopefully there won't be too many more of these corners cases. The inverted in images in this case contain cmyk colour space and an inversed colour decode array. I've update this jpeg handling code to take into account the decode array when converting from CMYK to BGRA colour space.
        Patrick Corless made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #34510 Tue Apr 23 14:12:20 MDT 2013 patrick.corless PDF-570 updated the the jpeg cymk color to rgb color conversion to take into account the decode array.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/ImageUtility.java
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/ImageStream.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #34684 Thu May 02 14:41:05 MDT 2013 patrick.corless PDF-570 added decode for enc_gray as well and fixed a regression where YCCK decode was applied twice.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/ImageStream.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #34685 Thu May 02 14:41:39 MDT 2013 patrick.corless PDF-570 added decode for enc_gray as well and fixed a regression where YCCK decode was applied twice.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/ImageUtility.java
        Tyler Johnson made changes -
        Fix Version/s 5.0.3 [ 11070 ]
        Hide
        Patrick Corless added a comment -

        Verified against final bundle

        Show
        Patrick Corless added a comment - Verified against final bundle
        Patrick Corless made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: