use of com.sun.media.imageioimpl.plugins.jpeg2000.BitsPerComponentBox in project bioformats by ome.
the class FileFormatReader method readBitsPerComponentBox.
/**
* Read the bits per component.
*/
public void readBitsPerComponentBox(int length) throws IOException {
bitDepths = new byte[length];
in.readFully(bitDepths, 0, length);
if (metadata != null) {
metadata.addNode(new BitsPerComponentBox(bitDepths));
}
}
use of com.sun.media.imageioimpl.plugins.jpeg2000.BitsPerComponentBox in project bioformats by openmicroscopy.
the class FileFormatReader method readBitsPerComponentBox.
/**
* Read the bits per component.
*/
public void readBitsPerComponentBox(int length) throws IOException {
bitDepths = new byte[length];
in.readFully(bitDepths, 0, length);
if (metadata != null) {
metadata.addNode(new BitsPerComponentBox(bitDepths));
}
}
Aggregations