public class BitsPerComponentBox extends Box(Code)
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 Summary
public
BitsPerComponentBox(byte[] bitDepth) Counstructs a BitsPerComponentBox from the provided
byte array containing the bit depths of each color component.
public
BitsPerComponentBox(Node node) Constructs a BitsPerComponentBox based on the provide
org.w3c.dom.Node.
Method Summary
public byte[]
getBitDepth() Returns the bit depths for all the image components.