public class BitsPerComponentBox extends Box
data, extraLength, length, type
Constructor and Description |
---|
BitsPerComponentBox(byte[] bitDepth)
Counstructs a
BitsPerComponentBox from the provided
byte array containing the bit depths of each color component. |
BitsPerComponentBox(Node node)
Constructs a
BitsPerComponentBox based on the provide
org.w3c.dom.Node . |
Modifier and Type | Method and Description |
---|---|
byte[] |
getBitDepth()
Returns the bit depths for all the image components.
|
compose, copyInt, createBox, getAttribute, getBoxClass, getByteArrayElementValue, getByteElementValue, getContent, getExtraLength, getIntArrayElementValue, getIntElementValue, getLength, getName, getNativeNode, getNativeNodeForSimpleBox, getShortElementValue, getStringElementValue, getType, getTypeByName, getTypeInt, getTypeString, parse, parseByteArray, parseIntArray, read, setContent, setDefaultAttributes, setExtraLength, setLength, write
public BitsPerComponentBox(byte[] bitDepth)
BitsPerComponentBox
from the provided
byte array containing the bit depths of each color component.public BitsPerComponentBox(Node node) throws IIOInvalidTreeException
BitsPerComponentBox
based on the provide
org.w3c.dom.Node
.IIOInvalidTreeException
Copyright © 2015–2022 SCIFIO. All rights reserved.