Class BitsPerComponentBox


  • public class BitsPerComponentBox
    extends Box
    This class is defined to represent a Bits Per Component Box of JPEG JP2 file format. A Bits Per Component box has a length, and a fixed type of "bpcc". Its content is a byte array containing the bit depths of the color components. This box is necessary only when the bit depth are not identical for all the components.
    • Constructor Detail

      • BitsPerComponentBox

        public BitsPerComponentBox​(byte[] bitDepth)
        Counstructs a BitsPerComponentBox from the provided byte array containing the bit depths of each color component.
    • Method Detail

      • getBitDepth

        public byte[] getBitDepth()
        Returns the bit depths for all the image components.