Lines Matching defs:image

30 import java.awt.image.BufferedImage;
31 import java.awt.image.Raster;
32 import java.awt.image.RenderedImage;
113 * attempt to access data associate with an image having a lower
230 * increased as each image (or thumbnail, or image metadata) is
253 * information or partially decoded image data.
328 * increased as each image (or thumbnail, or image metadata) is
428 * Returns the lowest valid index for reading an image, thumbnail,
429 * or image metadata. If <code>seekForwardOnly()</code> is
516 * <p> Note that some image formats (such as animated GIF) do not
552 * Returns the width in pixels of the given image within the input
555 * <p> If the image can be rendered to a user-specified size, then
558 * @param imageIndex the index of the image to be queried.
560 * @return the width of the image, as an <code>int</code>.
571 * Returns the height in pixels of the given image within the
574 * <p> If the image can be rendered to a user-specified size, then
577 * @param imageIndex the index of the image to be queried.
579 * @return the height of the image, as an <code>int</code>.
591 * image places no inherent impediment on random access to pixels.
593 * return <code>false</code>, as a large section of the image in
609 * <code>false</code> respectively without accessing any image
611 * even if no input source has been set or the image index is out
616 * @param imageIndex the index of the image to be queried.
619 * the given image is likely to be efficient.
623 * @exception IndexOutOfBoundsException if an image must be
633 * Returns the aspect ratio of the given image (that is, its width
643 * @param imageIndex the index of the image to be queried.
646 * given image.
660 * closely represents the "raw" internal format of the image. For
661 * example, for a JPEG image the raw type might have a YCbCr color
662 * space even though the image would conventionally be transformed
670 * @param imageIndex the index of the image to be queried.
686 * Returns an <code>Iterator</code> containing possible image
687 * types to which the given image may be decoded, in the form of
688 * <code>ImageTypeSpecifiers</code>s. At least one legal image
692 * "natural" type for decoding the image with as little loss as
693 * possible. For example, for a JPEG image the first entry should
694 * be an RGB image, even though the image data is stored
697 * @param imageIndex the index of the image to be
701 * <code>ImageTypeSpecifier</code> representing suggested image
702 * types for decoding the current given image.
738 * associated with any particular image), or <code>null</code> if
751 * not associated with any particular image). If no such data
834 * associated with the given image, or <code>null</code> if the
838 * @param imageIndex the index of the image whose metadata is to
855 * metadata associated with the given image, or <code>null</code>
881 * @param imageIndex the index of the image whose metadata is to
908 * Reads the image indexed by <code>imageIndex</code> and returns
913 * <p> The image returned will be formatted according to the first
928 * @param imageIndex the index of the image to be retrieved.
930 * @return the desired portion of the image as a
944 * Reads the image indexed by <code>imageIndex</code> and returns
978 * @param imageIndex the index of the image to be retrieved.
982 * @return the desired portion of the image as a
994 * @exception IllegalArgumentException if the resulting image would
1002 * Reads the image indexed by <code>imageIndex</code> and returns
1003 * an <code>IIOImage</code> containing the image, thumbnails, and
1004 * associated image metadata, using a supplied
1040 * @param imageIndex the index of the image to be retrieved.
1045 * of the image, a set of thumbnails, and associated image
1057 * @exception IllegalArgumentException if the resulting image
1088 * element is consumed for each image read from the input source
1103 * method once. Then, for each image decoded, there will be a
1108 * last image has been decoded.
1149 * @exception IllegalArgumentException if a resulting image would
1169 // that we're starting a new image
1215 * just a {@link java.awt.image.Raster <code>Raster</code>} of pixel data.
1235 * from the image stream, without any color conversion applied. The
1237 * means. Any destination or image-type parameters in the supplied
1242 * will always be that of the source region clipped to the actual image.
1267 * @param imageIndex the index of the image to be read.
1271 * @return the desired portion of the image as a
1284 * @see java.awt.image.Raster
1292 * Returns <code>true</code> if the image is organized into
1296 * that is present in the image as it is stored. It may even
1306 * or <code>false</code> respectively without accessing any image
1308 * even if no input source has been set or the image index is out
1313 * @param imageIndex the index of the image to be queried.
1315 * @return <code>true</code> if the image is tiled.
1319 * @exception IndexOutOfBoundsException if an image must be
1329 * Returns the width of a tile in the given image.
1338 * @param imageIndex the index of the image to be queried.
1350 * Returns the height of a tile in the given image.
1359 * @param imageIndex the index of the image to be queried.
1372 * 0) in the given image.
1376 * any image data. In such cases, it is not necessary to throw an
1377 * exception even if no input source has been set or the image
1387 * @param imageIndex the index of the image to be queried.
1391 * @exception IndexOutOfBoundsException if an image must be
1402 * 0) in the given image.
1406 * any image data. In such cases, it is not necessary to throw an
1407 * exception even if no input source has been set or the image
1417 * @param imageIndex the index of the image to be queried.
1421 * @exception IndexOutOfBoundsException if an image must be
1435 * image is not tiled, the values 0, 0 will return the entire
1436 * image; any other values will cause an
1450 * <p> The default implementation returns the entire image if
1454 * @param imageIndex the index of the image to be retrieved.
1494 * @param imageIndex the index of the image to be retrieved.
1514 * @see java.awt.image.Raster
1532 * contents of the image indexed by <code>imageIndex</code>. By
1533 * default, the returned image is simply the
1539 * destination image and/or image type set in the
1542 * meaningful if they are. This is because the returned image may
1554 * @param imageIndex the index of the image to be retrieved.
1559 * the image.
1570 * @exception IllegalArgumentException if the resulting image
1583 * Returns <code>true</code> if the image format understood by
1604 * Returns <code>true</code> if the given image has thumbnail
1614 * @param imageIndex the index of the image being queried.
1616 * @return <code>true</code> if the given image has thumbnails.
1630 * the given image. If the format does not support thumbnails,
1639 * @param imageIndex the index of the image being queried.
1642 * image.
1656 * Returns the width of the thumbnail preview image indexed by
1657 * <code>thumbnailIndex</code>, associated with the image indexed
1671 * @param imageIndex the index of the image to be retrieved.
1689 * Returns the height of the thumbnail preview image indexed by
1690 * <code>thumbnailIndex</code>, associated with the image indexed
1704 * @param imageIndex the index of the image to be retrieved.
1722 * Returns the thumbnail preview image indexed by
1723 * <code>thumbnailIndex</code>, associated with the image indexed
1740 * @param imageIndex the index of the image to be retrieved.
1762 * contents of the image following the abort will be undefined.
1954 * image is desired it may be perferable not to register any
1959 * down the presentation of the image.
2004 * Broadcasts the start of an sequence of image reads to all
2024 * Broadcasts the completion of an sequence of image reads to all
2042 * Broadcasts the start of an image read to all registered
2047 * @param imageIndex the index of the image about to be read.
2062 * Broadcasts the current percentage of image completion to all
2083 * Broadcasts the completion of an image read to all registered
2106 * @param imageIndex the index of the image associated with the
2325 * Broadcasts the update of a set of samples in a thumbnail image
2542 * region of the source image that should be read, taking into
2553 * @param srcWidth the width of the source image.
2554 * @param srcHeight the height of the source image.
2582 * image, an optional destination image, and an optional
2584 * begins with the entire source image. Then that is clipped to
2590 * with the top left of the destination image, taking subsampling
2592 * image on the right and bottom, if one is specified, taking
2596 * image, is translated to the destination offset given in the
2598 * clipped to the destination image, if there is one.
2608 * @param srcWidth the width of the source image.
2609 * @param srcHeight the height of the source image.
2610 * @param image a <code>BufferedImage</code> that will be the
2611 * destination image, or <code>null</code>.
2626 BufferedImage image,
2636 // Start with the entire source image
2639 // Destination also starts with source image, as that is the
2664 // to the top and left of the destination image
2684 // Now clip that to right and bottom of the destination image,
2686 if (image != null) {
2688 image.getWidth(),
2689 image.getHeight());
2696 int deltaX = destRegion.x + subsampledWidth - image.getWidth();
2700 int deltaY = destRegion.y + subsampledHeight - image.getHeight();
2715 * image as it exists in the input stream, and the number of bands
2716 * of the destination image that being written.
2736 * the image.
2737 * @param numSrcBands the number of bands of the image as it exists
2739 * @param numDstBands the number of bands in the destination image
2785 * data should be written. The image is determined by inspecting
2788 * method returns a non-<code>null</code> value, that image is
2791 * determine if a particular image type has been specified. If
2797 * steps have not yielded an image or an
2803 * <p> Next, the dimensions of the image are determined by a call
2805 * the image being decoded are passed in as the <code>width</code>
2809 * the destination image or image type, or <code>null</code>.
2811 * <code>ImageTypeSpecifier</code>s indicating the legal image
2813 * @param width the true width of the image or tile begin decoded.
2814 * @param height the true width of the image or tile being decoded.
2825 * @exception IllegalArgumentException if the resulting image would
2849 // Try to get the image itself
2855 // No image, get the image type
2859 // No info from param, use fallback image type
2895 // Create a new image based on the type specifier