Enum Class RenderIntent

java.lang.Object
java.lang.Enum<RenderIntent>
com.datalogics.PDFL.RenderIntent
All Implemented Interfaces:
Serializable, Comparable<RenderIntent>, Constable

public enum RenderIntent extends Enum<RenderIntent>
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    Tries to maintain color accuracy at the expense of preserving relationships between colors.
    Tries to preserve the visual relationship between colors in a way that is perceived as natural to the human eye, although the color values themselves may change.
    The same as absolute colorimetric, except that it compares the white point of the source color space to that of the destination color space and shifts all other colors accordingly, rather than comparing individual colors.
    Tries to create vivid color at the expense of accurate color.
    Use the source intent for the destination intent
    Use the source profile's rendering intent.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the enum constant of this class with the specified name.
    static RenderIntent[]
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Enum

    compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • PERCEPTUAL

      public static final RenderIntent PERCEPTUAL
      Tries to preserve the visual relationship between colors in a way that is perceived as natural to the human eye, although the color values themselves may change. This is the same as the Image intent in Adobe PageMaker and Illustrator. This option is suitable for photographic, continuous tone images.
    • REL_COLORIMETRIC

      public static final RenderIntent REL_COLORIMETRIC
      The same as absolute colorimetric, except that it compares the white point of the source color space to that of the destination color space and shifts all other colors accordingly, rather than comparing individual colors.
    • SATURATION

      public static final RenderIntent SATURATION
      Tries to create vivid color at the expense of accurate color. It scales the source gamut to the destination gamut, but preserves relative saturation instead of hue, so that when scaling to a smaller gamut, hues may shift. This is the same as the Graphics intent in Adobe PageMaker and Illustrator. This option is suitable for business graphics and charts, where the exact relationship between colors is not as important as having bright saturated colors.
    • ABS_COLORIMETRIC

      public static final RenderIntent ABS_COLORIMETRIC
      Tries to maintain color accuracy at the expense of preserving relationships between colors. It leaves colors that fall inside the destination gamut unchanged. When translating to a smaller gamut, two colors that are distinct in the source space may be mapped to the same color in the destination space. This type of rendering can be more accurate than if the colorAC_RelColorimetric, profile of the image contains correct white point (extreme highlight) information.
    • USE_PROFILE_INTENT

      public static final RenderIntent USE_PROFILE_INTENT
      Use the source profile's rendering intent.
    • USE_GSTATE_INTENT

      public static final RenderIntent USE_GSTATE_INTENT
      Use the source intent for the destination intent
  • Method Details

    • values

      public static RenderIntent[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static RenderIntent valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null