Class ColorProfileUtil

java.lang.Object
org.apache.fop.util.ColorProfileUtil

public final class ColorProfileUtil extends Object
Deprecated.
use org.apache.xmlgraphics.java2d.color.profile.ColorProfileUtil directly
Helper methods for handling color profiles.
  • Method Details

    • getICCProfileDescription

      public static String getICCProfileDescription(ICC_Profile profile)
      Deprecated.
      use org.apache.xmlgraphics.java2d.color.profile.ColorProfileUtil directly
      Returns the profile description of an ICC profile
      Parameters:
      profile - the profile
      Returns:
      the description
    • isDefaultsRGB

      public static boolean isDefaultsRGB(ICC_Profile profile)
      Deprecated.
      use org.apache.xmlgraphics.java2d.color.profile.ColorProfileUtil directly
      Indicates whether a given color profile is identical to the default sRGB profile provided by the Java class library.
      Parameters:
      profile - the color profile to check
      Returns:
      true if it is the default sRGB profile