Class Jpeg2000ImageData.ColorSpecBox

All Implemented Interfaces:
Serializable, Cloneable, Iterable<Integer>, Collection<Integer>, List<Integer>, RandomAccess
Enclosing class:
Jpeg2000ImageData

public static class Jpeg2000ImageData.ColorSpecBox extends ArrayList<Integer>
Represents a JPEG 2000 color specification box.

The first four list values are the method, precedence, approximation, and enumerated color space.

See Also:
  • Constructor Details

    • ColorSpecBox

      public ColorSpecBox()
  • Method Details

    • getMeth

      public int getMeth()
      Gets the color-specification method.
      Returns:
      method value stored at index 0
    • getPrec

      public int getPrec()
      Gets the color-specification precedence.
      Returns:
      precedence value stored at index 1
    • getApprox

      public int getApprox()
      Gets the color-specification approximation.
      Returns:
      approximation value stored at index 2
    • getEnumCs

      public int getEnumCs()
      Gets the enumerated color space.
      Returns:
      color-space value stored at index 3
    • getColorProfile

      public byte[] getColorProfile()
      Gets the embedded color profile.
      Returns:
      retained profile bytes, or null