Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.4, 5.0.0 alpha1, 5.0.0 beta1
    • Fix Version/s: 5.0
    • Component/s: Core/Parsing
    • Labels:
      None
    • Environment:
      any

      Description

      The cmyk colour conversion to rgb algorithm has always produced image that were a little dark when compared to acrobat. During the image refactoring work there was a consolidation as to which cmyk algorirthms where being used add a a result the black levels are a lot closer then in 4.x.

      I'm going to revert our fudge value but also include a system property org.icepdf.core.cmyk.black=255. Values greater than 255 will lighten an image and values less than 255 will darken the image.

        Activity

        Patrick Corless created issue -
        Patrick Corless made changes -
        Field Original Value New Value
        Fix Version/s 5.0 [ 10314 ]
        Hide
        Patrick Corless added a comment -

        Closing

        Show
        Patrick Corless added a comment - Closing
        Patrick Corless made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Patrick Corless added a comment -

        We actually have to place for black configuration. The first is in imaging and uses 255 int values and the other is for colorants for fill and stroke where we use 0-1 float values so we need two properties:

        org.icepdf.core.cmyk.colorant.black=1.0

        • value is multiplied by the black float values so 0.5 would make the blacks half as black.

        org.icepdf.core.cmyk.image.black=255

        • same as defined above.
        Show
        Patrick Corless added a comment - We actually have to place for black configuration. The first is in imaging and uses 255 int values and the other is for colorants for fill and stroke where we use 0-1 float values so we need two properties: org.icepdf.core.cmyk.colorant.black=1.0 value is multiplied by the black float values so 0.5 would make the blacks half as black. org.icepdf.core.cmyk.image.black=255 same as defined above.
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #34233 Thu Apr 04 15:23:04 MDT 2013 patrick.corless PDF-555 updated system property names for black levels.
        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/graphics/DeviceCMYK.java
        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: