ICEpdf
  1. ICEpdf
  2. PDF-267

DeviceN coloring not correct rendered

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.1.4
    • Fix Version/s: 5.0.1
    • Component/s: Core/Parsing
    • Labels:
      None
    • Environment:
      -

      Description

      CMYK PDF is not showing the correct colors. Please see page 5 of attached test file where the coloring is a lighter blue.
      1. 9873.pdf
        4.12 MB
        Tyler Johnson
      1. 9873_screen.jpg
        206 kB

        Activity

        Patrick Corless made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #34681 Thu May 02 14:38:42 MDT 2013 patrick.corless PDF-267 added a test to for cymk and the placement of black if not the last element we reverse the colour array. Fixes a problematic pdf.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/graphics/DeviceN.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #34491 Mon Apr 22 11:13:16 MDT 2013 patrick.corless PDF-267 updated how deviceN detects and build colours with channels named in the cmyk colour space.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/graphics/Separation.java
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/graphics/DeviceN.java
        Patrick Corless made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Patrick Corless added a comment -

        Closing. I've updated the Device N to better detect CMYK channels. Will need to do a round of QA for this one.

        Show
        Patrick Corless added a comment - Closing. I've updated the Device N to better detect CMYK channels. Will need to do a round of QA for this one.
        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 ]
        Hide
        Patrick Corless added a comment -

        I have is a pretty hard look on Friday but couldn't find an issue with how we're handling the alternative colour space. I suspect we'll have to look at supporting the names [/Cyan/Magenta] in order to get this PDF to render correctly. Will have to differ until after 4.2.

        Show
        Patrick Corless added a comment - I have is a pretty hard look on Friday but couldn't find an issue with how we're handling the alternative colour space. I suspect we'll have to look at supporting the names [/Cyan/Magenta] in order to get this PDF to render correctly. Will have to differ until after 4.2.
        Patrick Corless made changes -
        Summary CMYK PDF coloring not correct DeviceN coloring not correct rendered
        Hide
        Patrick Corless added a comment -

        Looks like its actually a Device N colour space. Should be able to do something about it.

        Some tracing notes.

        47 0 obj
        [/DeviceN[/Cyan/Magenta] 21 0 R 52 0 R]
        endobj
        52 0 obj
        <</Domain[0 1 0 1]/Encode[0 44 0 44]/Size[45 45]/BitsPerSample 8/Range[0 1 0 1 0 1]/Decode[0 1 0 1 0 1]/Filter/FlateDecode/Length 5587/FunctionType 0>>

        21 0 obj
        [/ICCBased 24 0 R]
        endobj

        24 0 obj
        <</N 3/Filter/FlateDecode/Alternate/DeviceRGB/Length 2575>>stream

        Show
        Patrick Corless added a comment - Looks like its actually a Device N colour space. Should be able to do something about it. Some tracing notes. 47 0 obj [/DeviceN [/Cyan/Magenta] 21 0 R 52 0 R] endobj 52 0 obj <</Domain [0 1 0 1] /Encode [0 44 0 44] /Size [45 45] /BitsPerSample 8/Range [0 1 0 1 0 1] /Decode [0 1 0 1 0 1] /Filter/FlateDecode/Length 5587/FunctionType 0>> 21 0 obj [/ICCBased 24 0 R] endobj 24 0 obj <</N 3/Filter/FlateDecode/Alternate/DeviceRGB/Length 2575>>stream
        Tyler Johnson made changes -
        Attachment 9873.pdf [ 12922 ]
        Tyler Johnson made changes -
        Attachment 9873_screen.jpg [ 12921 ]
        Tyler Johnson made changes -
        Field Original Value New Value
        Salesforce Case [5007000000GA3Ns]
        Description CMYK PDF is not showing the correct colors. Please see page 5 of attached test file where the coloring is a lighter blue.

         
        CMYK PDF is not showing the correct colors. Please see page 5 of attached test file where the coloring is a lighter blue.
        Tyler Johnson created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved: