Class ComponentMappingBox


  • public class ComponentMappingBox
    extends Box
    This class is defined to represent a Color Specification Box of JPEG JP2 file format. A Channel Definition Box has a length, and a fixed type of "cmap". This box exists if and only is a PaletteBox exists. Its content defines the type LUT output components and their mapping to the color component.
    • Method Detail

      • parse

        protected void parse​(byte[] data)
        Parse the component mapping from the provided content data array.
        Overrides:
        parse in class Box
      • getNativeNode

        public IIOMetadataNode getNativeNode()
        Creates an IIOMetadataNode from this component mapping box. The format of this node is defined in the XML dtd and xsd for the JP2 image file.
        Overrides:
        getNativeNode in class Box
      • compose

        protected void compose()
        Description copied from class: Box
        Composes the content byte array from the data elements.
        Overrides:
        compose in class Box