Lines Matching defs:imageIndex

558      * @param imageIndex the index of the image to be queried.
568 public abstract int getWidth(int imageIndex) throws IOException;
577 * @param imageIndex the index of the image to be queried.
587 public abstract int getHeight(int imageIndex) throws IOException;
616 * @param imageIndex the index of the image to be queried.
628 public boolean isRandomAccessEasy(int imageIndex) throws IOException {
641 * <code>(float)getWidth(imageIndex)/getHeight(imageIndex)</code>.
643 * @param imageIndex the index of the image to be queried.
653 public float getAspectRatio(int imageIndex) throws IOException {
654 return (float)getWidth(imageIndex)/getHeight(imageIndex);
670 * @param imageIndex the index of the image to be queried.
680 public ImageTypeSpecifier getRawImageType(int imageIndex)
682 return (ImageTypeSpecifier)getImageTypes(imageIndex).next();
697 * @param imageIndex the index of the image to be
714 getImageTypes(int imageIndex) throws IOException;
799 int imageIndex) throws IOException {
809 : getImageMetadata(imageIndex);
838 * @param imageIndex the index of the image whose metadata is to
850 public abstract IIOMetadata getImageMetadata(int imageIndex)
877 * calling <code>getImageMetadata(imageIndex)</code>, after
881 * @param imageIndex the index of the image whose metadata is to
900 public IIOMetadata getImageMetadata(int imageIndex,
904 return getMetadata(formatName, nodeNames, false, imageIndex);
908 * Reads the image indexed by <code>imageIndex</code> and returns
911 * that calls <code>read(imageIndex, null)</code>.
928 * @param imageIndex the index of the image to be retrieved.
939 public BufferedImage read(int imageIndex) throws IOException {
940 return read(imageIndex, null);
944 * Reads the image indexed by <code>imageIndex</code> and returns
978 * @param imageIndex the index of the image to be retrieved.
998 public abstract BufferedImage read(int imageIndex, ImageReadParam param)
1002 * Reads the image indexed by <code>imageIndex</code> and returns
1040 * @param imageIndex the index of the image to be retrieved.
1061 public IIOImage readAll(int imageIndex, ImageReadParam param)
1063 if (imageIndex < getMinIndex()) {
1064 throw new IndexOutOfBoundsException("imageIndex < getMinIndex()!");
1067 BufferedImage im = read(imageIndex, param);
1070 int numThumbnails = getNumThumbnails(imageIndex);
1074 thumbnails.add(readThumbnail(imageIndex, j));
1078 IIOMetadata metadata = getImageMetadata(imageIndex);
1162 int imageIndex = getMinIndex();
1165 processSequenceStarted(imageIndex);
1186 bi = read(imageIndex, param);
1192 int numThumbnails = getNumThumbnails(imageIndex);
1196 thumbnails.add(readThumbnail(imageIndex, j));
1200 IIOMetadata metadata = getImageMetadata(imageIndex);
1204 ++imageIndex;
1267 * @param imageIndex the index of the image to be read.
1286 public Raster readRaster(int imageIndex, ImageReadParam param)
1313 * @param imageIndex the index of the image to be queried.
1324 public boolean isImageTiled(int imageIndex) throws IOException {
1332 * <code>getWidth(imageIndex)</code>, which is correct for
1338 * @param imageIndex the index of the image to be queried.
1345 public int getTileWidth(int imageIndex) throws IOException {
1346 return getWidth(imageIndex);
1353 * <code>getHeight(imageIndex)</code>, which is correct for
1359 * @param imageIndex the index of the image to be queried.
1366 public int getTileHeight(int imageIndex) throws IOException {
1367 return getHeight(imageIndex);
1387 * @param imageIndex the index of the image to be queried.
1396 public int getTileGridXOffset(int imageIndex) throws IOException {
1417 * @param imageIndex the index of the image to be queried.
1426 public int getTileGridYOffset(int imageIndex) throws IOException {
1442 * <code>tileX*getTileWidth(imageIndex)</code>,
1443 * <code>tileY*getTileHeight(imageIndex)</code> and width and
1444 * height of <code>getTileWidth(imageIndex)</code>,
1445 * <code>getTileHeight(imageIndex)</code>; and subsampling
1454 * @param imageIndex the index of the image to be retrieved.
1464 * @exception IndexOutOfBoundsException if <code>imageIndex</code>
1470 public BufferedImage readTile(int imageIndex,
1475 return read(imageIndex);
1490 * #readRaster <code>readRaster(imageIndex, null)</code>} if
1494 * @param imageIndex the index of the image to be retrieved.
1508 * @exception IndexOutOfBoundsException if <code>imageIndex</code>
1516 public Raster readTileRaster(int imageIndex,
1525 return readRaster(imageIndex, null);
1532 * contents of the image indexed by <code>imageIndex</code>. By
1534 * <code>BufferedImage</code> returned by <code>read(imageIndex,
1552 * <code>read(imageIndex, param)</code>}.
1554 * @param imageIndex the index of the image to be retrieved.
1574 public RenderedImage readAsRenderedImage(int imageIndex,
1577 return read(imageIndex, param);
1609 * whether <code>imageIndex</code> is in bounds.
1614 * @param imageIndex the index of the image being queried.
1621 * thumbnails but <code>imageIndex</code> is out of bounds.
1624 public boolean hasThumbnails(int imageIndex) throws IOException {
1625 return getNumThumbnails(imageIndex) > 0;
1634 * <code>imageIndex</code> is in bounds.
1639 * @param imageIndex the index of the image being queried.
1647 * thumbnails but <code>imageIndex</code> is out of bounds.
1650 public int getNumThumbnails(int imageIndex)
1671 * @param imageIndex the index of the image to be retrieved.
1683 public int getThumbnailWidth(int imageIndex, int thumbnailIndex)
1685 return readThumbnail(imageIndex, thumbnailIndex).getWidth();
1704 * @param imageIndex the index of the image to be retrieved.
1716 public int getThumbnailHeight(int imageIndex, int thumbnailIndex)
1718 return readThumbnail(imageIndex, thumbnailIndex).getHeight();
1740 * @param imageIndex the index of the image to be retrieved.
1752 public BufferedImage readThumbnail(int imageIndex,
2047 * @param imageIndex the index of the image about to be read.
2049 protected void processImageStarted(int imageIndex) {
2057 listener.imageStarted(this, imageIndex);
2106 * @param imageIndex the index of the image associated with the
2110 protected void processThumbnailStarted(int imageIndex,
2119 listener.thumbnailStarted(this, imageIndex, thumbnailIndex);
2801 * <code>getImageTypes(imageIndex)</code>.