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

        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.
        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(...);

          People

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

            Dates

            • Created:
              Updated:
              Resolved: