Lines Matching defs:image

30 import java.awt.image.BufferedImage;
31 import java.awt.image.RenderedImage;
32 import java.awt.image.Raster;
372 * (<i>e.g.</i>, writers for single-image formats) should return
376 * encode the image, or <code>null</code>.
385 * values for encoding an image of the given type. The contents
394 * for cases where it may affect the structure of the image
403 * format of the image to be written later.
405 * encode the image, or <code>null</code>.
427 * written, given the image type and any additional write
443 * the type of image to be written, or <code>null</code>.
488 * type of image to be written, or <code>null</code>.
510 * source image. If this method returns <code>false</code>, then
525 * Appends a complete image stream containing a single image and
526 * associated stream and image metadata and thumbnails to the
560 * @param image an <code>IIOImage</code> object containing an
561 * image, thumbnails, and metadata to be written.
568 * @exception UnsupportedOperationException if <code>image</code>
571 * @exception IllegalArgumentException if <code>image</code> is
576 IIOImage image,
580 * Appends a complete image stream containing a single image with
582 * a shorthand for <code>write(null, image, null)</code>.
584 * @param image an <code>IIOImage</code> object containing an
585 * image, thumbnails, and metadata to be written.
589 * @exception IllegalArgumentException if <code>image</code> is
591 * @exception UnsupportedOperationException if <code>image</code>
596 public void write(IIOImage image) throws IOException {
597 write(null, image, null);
601 * Appends a complete image stream consisting of a single image
603 * method is a shorthand for <code>write(null, new IIOImage(image,
606 * @param image a <code>RenderedImage</code> to be written.
610 * @exception IllegalArgumentException if <code>image</code> is
614 public void write(RenderedImage image) throws IOException {
615 write(null, new IIOImage(image, null, null), null);
631 * image to an image stream that already contains header
650 * it should precede the image data. If the argument is <code>null</code>,
660 * may flush the stream after this method and after each image.
689 * Appends a single image and possibly associated metadata and
731 * @param image an <code>IIOImage</code> object containing an
732 * image, thumbnails, and metadata to be written.
741 * @exception IllegalArgumentException if <code>image</code> is
743 * @exception UnsupportedOperationException if <code>image</code>
748 public void writeToSequence(IIOImage image, ImageWriteParam param)
840 * image metadata associated with an existing image with index
846 * <p> A writer that does not support any image metadata
855 * @param imageIndex the index of the image whose metadata is to
858 * @return <code>true</code> if the image metadata of the given
859 * image can be replaced.
864 * image metadata replacement in general, but
878 * Replaces the image metadata associated with an existing image.
889 * @param imageIndex the index of the image whose metadata is to
892 * representing image metadata, or <code>null</code>.
913 * of a new image at the given index. Existing images with
919 * <p> A writer that does not support any image insertion may
928 * @param imageIndex the index at which the image is to be
931 * @return <code>true</code> if an image may be inserted at the
937 * image insertion in general, but <code>imageIndex</code> is less
949 * Inserts a new image into an existing image stream. Existing
954 * will cause the image to be logically appended to the end of the
976 * @param imageIndex the index at which to write the image.
977 * @param image an <code>IIOImage</code> object containing an
978 * image, thumbnails, and metadata to be written.
987 * @exception IllegalArgumentException if <code>image</code> is
991 * @exception UnsupportedOperationException if <code>image</code>
997 IIOImage image,
1006 * of an existing image at the given index. Existing images with
1010 * <p> A writer that does not support any image removal may
1019 * @param imageIndex the index of the image to be removed.
1022 * image.
1027 * image removal in general, but <code>imageIndex</code> is less
1040 * Removes an image from the stream.
1053 * @param imageIndex the index of the image to be removed.
1072 * a complete image stream consisting of a single image with
1084 * @return <code>true</code> if the writing of complete image
1100 * Begins the writing of a complete image stream, consisting of a
1101 * single image with undefined pixel values and associated
1137 * the layout of the image.
1138 * @param width the width of the image.
1139 * @param height the height of the image.
1141 * representing image metadata, or <code>null</code>.
1143 * <code>BufferedImage</code> thumbnails for this image, or
1177 * Completes the writing of a new image that was begun with a
1213 * of a new, empty image at the given index. The pixel values of
1214 * the image are undefined, and may be specified in pieces using
1230 * @param imageIndex the index at which the image is to be
1233 * @return <code>true</code> if an empty image may be inserted at
1239 * empty image insertion in general, but <code>imageIndex</code>
1252 * Begins the insertion of a new image with undefined pixel values
1253 * into an existing image stream. Existing images with an index
1258 * cause the image to be logically appended to the end of the
1262 * <p> The image contents may be
1292 * @param imageIndex the index at which to write the image.
1294 * the layout of the image.
1295 * @param width the width of the image.
1296 * @param height the height of the image.
1298 * representing image metadata, or <code>null</code>.
1300 * <code>BufferedImage</code> thumbnails for this image, or
1337 * Completes the insertion of a new image that was begun with a
1369 * given image to be replaced using the <code>replacePixels</code>
1381 * @param imageIndex the index of the image whose pixels are to be
1385 * image can be replaced.
1415 * @param imageIndex the index of the image whose pixels are to be
1442 * Replaces a portion of an image already present in the output
1443 * with a portion of the given image. The image data must match,
1444 * or be convertible to, the image layout of the existing image.
1447 * <code>param</code> argument, and will be clipped to the image
1470 * @param image a <code>RenderedImage</code> containing source
1486 * <li> <code>image</code> is <code>null</code>.
1489 * <li> the layout of <code>image</code> does not match, or this
1490 * writer cannot convert it to, the existing image layout.
1494 public void replacePixels(RenderedImage image, ImageWriteParam param)
1500 * Replaces a portion of an image already present in the output
1501 * with a portion of the given <code>Raster</code>. The image
1502 * data must match, or be convertible to, the image layout of the
1503 * existing image.
1510 * <code>param</code> argument, and will be clipped to the image
1551 * writer cannot convert it to, the existing image layout.
1745 * Broadcasts the start of an image write to all registered
1750 * @param imageIndex the index of the image about to be written.
1765 * Broadcasts the current percentage of image completion to all
1786 * Broadcasts the completion of an image write to all registered
1809 * @param imageIndex the index of the image associated with the
1889 * @param imageIndex the index of the image on which the warning
1920 * @param imageIndex the index of the image on which the warning