public int getHeight(int imageIndex) throws IOException { checkIndex(imageIndex); readHeader(); return height; }
public int getHeight(int imageIndex) throws IOException { checkIndex(imageIndex); readHeader(); return height; }
public int getWidth(int imageIndex) throws IOException { checkIndex(imageIndex); readHeader(); return width; }
public int getHeight(int imageIndex) throws IOException { checkIndex(imageIndex); readHeader(); return height; }
public int getTileGridYOffset(int imageIndex) throws IOException { checkIndex(imageIndex); readHeader(); return hd.getTilingOrigin(null).y; }
public int getTileGridXOffset(int imageIndex) throws IOException { checkIndex(imageIndex); readHeader(); return hd.getTilingOrigin(null).x; }
public int getTileGridXOffset(int imageIndex) throws IOException { checkIndex(imageIndex); readHeader(); return hd.getTilingOrigin(null).x; }
public int getTileGridXOffset(int imageIndex) throws IOException { checkIndex(imageIndex); readHeader(); return hd.getTilingOrigin(null).x; }
public int getTileWidth(int imageIndex) throws IOException { checkIndex(imageIndex); readHeader(); return hd.getNomTileWidth(); }
public int getTileHeight(int imageIndex) throws IOException { checkIndex(imageIndex); readHeader(); return hd.getNomTileHeight(); }
public int getTileGridYOffset(int imageIndex) throws IOException { checkIndex(imageIndex); readHeader(); return hd.getTilingOrigin(null).y; }
public int getTileWidth(int imageIndex) throws IOException { checkIndex(imageIndex); readHeader(); return hd.getNomTileWidth(); }
public int getTileWidth(int imageIndex) throws IOException { checkIndex(imageIndex); readHeader(); return hd.getNomTileWidth(); }
public Iterator getImageTypes(int imageIndex) throws IOException { checkIndex(imageIndex); readHeader(); if (readState != null) { ArrayList list = new ArrayList(); list.add(new ImageTypeSpecifier(readState.getColorModel(), readState.getSampleModel())); return list.iterator(); } return null; }
public Iterator getImageTypes(int imageIndex) throws IOException { checkIndex(imageIndex); readHeader(); if (readState != null) { ArrayList list = new ArrayList(); list.add(new ImageTypeSpecifier(readState.getColorModel(), readState.getSampleModel())); return list.iterator(); } return null; }
public Iterator getImageTypes(int imageIndex) throws IOException { checkIndex(imageIndex); readHeader(); if (readState != null) { ArrayList list = new ArrayList(); list.add(new ImageTypeSpecifier(readState.getColorModel(), readState.getSampleModel())); return list.iterator(); } return null; }
public IIOMetadata getImageMetadata(int imageIndex) throws IOException { checkIndex(imageIndex); if (ignoreMetadata) return null; if (imageMetadata == null) { iis.mark(); imageMetadata = new J2KMetadata(iis, this); iis.reset(); } return imageMetadata; }
private ImageTypeSpecifier getImageType(int imageIndex) throws IOException { checkIndex(imageIndex); readHeader(); if (readState != null) { return new ImageTypeSpecifier(readState.getColorModel(), readState.getSampleModel()); } return null; }
private ImageTypeSpecifier getImageType(int imageIndex) throws IOException { checkIndex(imageIndex); readHeader(); if (readState != null) { return new ImageTypeSpecifier(readState.getColorModel(), readState.getSampleModel()); } return null; }
public boolean isImageTiled(int imageIndex) { checkIndex(imageIndex); readHeader(); if (readState != null) { RenderedImage image = new J2KRenderedImage(readState); if (image.getNumXTiles() * image.getNumYTiles() > 0) return true; return false; } return false; }