ICEpdf
  1. ICEpdf
  2. PDF-764

Make org.icepdf.core.cmyk.image.black a dynamic property

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.0.6_P01
    • Fix Version/s: 5.0.7
    • Component/s: Core/Parsing
    • Labels:
      None
    • Environment:
      any

      Description

      A customer has asked us if we can make org.icepdf.core.cmyk.image.black a dynamic property. The property is currently processed in the ImageUtility class.

      The enhancement would allow for the property to be set on document by document instance.

        Activity

        Patrick Corless created issue -
        Patrick Corless made changes -
        Field Original Value New Value
        Fix Version/s 5.0.7 [ 11470 ]
        Patrick Corless made changes -
        Fix Version/s 5.1 [ 10675 ]
        Fix Version/s 5.0.7 [ 11470 ]
        Patrick Corless made changes -
        Fix Version/s 5.0.7 [ 11470 ]
        Fix Version/s 5.1 [ 10675 ]
        Hide
        Patrick Corless added a comment -

        I've make a few changes the ImageUitility class so that an singleton instance of the class will be retrieved when access in the org.icepdf.core.cmyk.image.black property. So in theory the property can be changed dynamically, however this assume that a single thread is being used. To support multithread access quite a bit more work would be required.

        Show
        Patrick Corless added a comment - I've make a few changes the ImageUitility class so that an singleton instance of the class will be retrieved when access in the org.icepdf.core.cmyk.image.black property. So in theory the property can be changed dynamically, however this assume that a single thread is being used. To support multithread access quite a bit more work would be required.
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #42059 Fri Aug 01 08:34:21 MDT 2014 patrick.corless PDF-764 addition of dynamically setable org.icepdf.core.cmyk.image.black
        Files Changed
        Commit graph MODIFY /icepdf/branches/icepdf-5.0.1/icepdf/core/src/org/icepdf/core/pobjects/ImageUtility.java
        Hide
        Patrick Corless added a comment -

        Updates to the ImageUtility class have been made to make the property in question dynamic. The following call should be made before document is opned.

        ImageUtility.getInstance().setBlackRatio(...);

        Show
        Patrick Corless added a comment - Updates to the ImageUtility class have been made to make the property in question dynamic. The following call should be made before document is opned. ImageUtility.getInstance().setBlackRatio(...);
        Patrick Corless made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        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: