@Override public byte[] openBytes(int no, int x, int y, int w, int h) throws FormatException, IOException { byte[] buf = DataTools.allocate(w, h, getRGBChannelCount(), FormatTools.getBytesPerPixel(getPixelType())); return openBytes(no, buf, x, y, w, h); }
@Override public byte[] openBytes(int no, int x, int y, int w, int h) throws FormatException, IOException { byte[] buf = DataTools.allocate(w, h, getRGBChannelCount(), FormatTools.getBytesPerPixel(getPixelType())); return openBytes(no, buf, x, y, w, h); }
if (getPixelType() == FormatTools.UINT8) { byte[][] b = ImageTools.indexedToRGB(reader.get8BitLookupTable(), pix); if (isInterleaved()) {
if (getPixelType() == FormatTools.UINT8) { byte[][] b = ImageTools.indexedToRGB(reader.get8BitLookupTable(), pix); if (isInterleaved()) {