Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8351765

The RenderingIntent from the ICC_Profile is not applied.

XMLWordPrintable

    • 2d
    • b23
    • 20
    • generic
    • generic

      A DESCRIPTION OF THE PROBLEM :
      Having ICC_Profiles with RenderingIntent these are not longer used.
      The Problem is in method filter() in class java/awt/image/ColorConvertOp.java, L. 482. This source code was commented out with commit d8573b2: Delete KCMS transforms wrappers:

          if (profileList[0].getProfileClass() == ICC_Profile.CLASS_OUTPUT) {
                                                  /* if first profile is a printer
                                                     render as colorimetric */
                      renderingIntent = ICC_Profile.icRelativeColorimetric;
                  }
                  else {
                      renderingIntent = ICC_Profile.icPerceptual; /* render any other
                                                                 class perceptually */
                  }

                  /* or get this profile's rendering intent to select transform
                     from next profiles? */
                  // renderingIntent = getRenderingIntent(profileList[i1]);

      Here the RenderingIntents of the ICC_Profile must been used.


      REGRESSION : Last worked in version 17.0.14

            honkar Harshitha Onkar
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: