Search in sources :

Example 1 with BitsPerComponentBox

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));
    }
}
Also used : BitsPerComponentBox(com.sun.media.imageioimpl.plugins.jpeg2000.BitsPerComponentBox)

Example 2 with BitsPerComponentBox

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));
    }
}
Also used : BitsPerComponentBox(com.sun.media.imageioimpl.plugins.jpeg2000.BitsPerComponentBox)

Aggregations

BitsPerComponentBox (com.sun.media.imageioimpl.plugins.jpeg2000.BitsPerComponentBox)2