| Package | Description |
|---|---|
| java.awt |
Contains all of the classes for creating user interfaces and for painting graphics and images.
|
| java.awt.image |
Provides classes for creating and modifying images.
|
| javax.imageio |
The main package of the Java Image I/O API.
|
| javax.imageio.event |
A package of the Java Image I/O API dealing with synchronous notification of events during the reading and writing of images.
|
| Modifier and Type | Method and Description |
|---|---|
BufferedImage |
GraphicsConfiguration.createCompatibleImage(int width, int height)
Returns a
BufferedImage with a data layout and color model compatible with this
GraphicsConfiguration.
|
BufferedImage |
GraphicsConfiguration.createCompatibleImage(int width, int height, int transparency)
Returns a
BufferedImage that supports the specified transparency and has a data layout and color model compatible with this
GraphicsConfiguration.
|
BufferedImage |
Robot.createScreenCapture(Rectangle
Creates an image containing pixels read from the screen.
|
BufferedImage |
TexturePaint.getImage()
Returns the
BufferedImage texture used to fill the shapes.
|
| Modifier and Type | Method and Description |
|---|---|
abstract Graphics2D |
GraphicsEnvironment.createGraphics(BufferedImage
Returns a
Graphics2D object for rendering into the specified
BufferedImage.
|
abstract void |
Graphics2D.drawImage(BufferedImage
Renders a
BufferedImage that is filtered with a
BufferedImageOp.
|
| Constructor and Description | |
|---|---|
TexturePaint(BufferedImage
Constructs a
TexturePaint object.
|
| Modifier and Type | Method and Description |
|---|---|
BufferedImage |
IndexColorModel.convertToIntDiscrete(Raster
Returns a new
BufferedImage of TYPE_INT_ARGB or TYPE_INT_RGB that has a
Raster with pixel data computed by expanding the indices in the source
Raster using the color/alpha component arrays of this
ColorModel.
|
BufferedImage |
ConvolveOp.createCompatibleDestImage(BufferedImage
Creates a zeroed destination image with the correct size and number of bands.
|
BufferedImage |
RescaleOp.createCompatibleDestImage(BufferedImage
Creates a zeroed destination image with the correct size and number of bands.
|
BufferedImage |
ColorConvertOp.createCompatibleDestImage(BufferedImage
Creates a zeroed destination image with the correct size and number of bands, given this source.
|
BufferedImage |
AffineTransformOp.createCompatibleDestImage(BufferedImage
Creates a zeroed destination image with the correct size and number of bands.
|
BufferedImage |
BufferedImageOp.createCompatibleDestImage(BufferedImage
Creates a zeroed destination image with the correct size and number of bands.
|
BufferedImage |
LookupOp.createCompatibleDestImage(BufferedImage
Creates a zeroed destination image with the correct size and number of bands.
|
BufferedImage |
ConvolveOp.filter(BufferedImage
Performs a convolution on BufferedImages.
|
BufferedImage |
RescaleOp.filter(BufferedImage
Rescales the source BufferedImage.
|
BufferedImage |
ColorConvertOp.filter(BufferedImage
ColorConverts the source BufferedImage.
|
BufferedImage |
AffineTransformOp.filter(BufferedImage
Transforms the source
BufferedImage and stores the results in the destination
BufferedImage.
|
BufferedImage |
BufferedImageOp.filter(BufferedImage
Performs a single-input/single-output operation on a
BufferedImage.
|
BufferedImage |
LookupOp.filter(BufferedImage
Performs a lookup operation on a
BufferedImage.
|
abstract BufferedImage |
VolatileImage.getSnapshot()
Returns a static snapshot image of this object.
|
BufferedImage |
BufferedImage.getSubimage(int x, int y, int w, int h)
Returns a subimage defined by a specified rectangular region.
|
| Modifier and Type | Method and Description |
|---|---|
BufferedImage |
ConvolveOp.createCompatibleDestImage(BufferedImage
Creates a zeroed destination image with the correct size and number of bands.
|
BufferedImage |
RescaleOp.createCompatibleDestImage(BufferedImage
Creates a zeroed destination image with the correct size and number of bands.
|
BufferedImage |
ColorConvertOp.createCompatibleDestImage(BufferedImage
Creates a zeroed destination image with the correct size and number of bands, given this source.
|
BufferedImage |
AffineTransformOp.createCompatibleDestImage(BufferedImage
Creates a zeroed destination image with the correct size and number of bands.
|
BufferedImage |
BufferedImageOp.createCompatibleDestImage(BufferedImage
Creates a zeroed destination image with the correct size and number of bands.
|
BufferedImage |
LookupOp.createCompatibleDestImage(BufferedImage
Creates a zeroed destination image with the correct size and number of bands.
|
BufferedImage |
ConvolveOp.filter(BufferedImage
Performs a convolution on BufferedImages.
|
BufferedImage |
RescaleOp.filter(BufferedImage
Rescales the source BufferedImage.
|
BufferedImage |
ColorConvertOp.filter(BufferedImage
ColorConverts the source BufferedImage.
|
BufferedImage |
AffineTransformOp.filter(BufferedImage
Transforms the source
BufferedImage and stores the results in the destination
BufferedImage.
|
BufferedImage |
BufferedImageOp.filter(BufferedImage
Performs a single-input/single-output operation on a
BufferedImage.
|
BufferedImage |
LookupOp.filter(BufferedImage
Performs a lookup operation on a
BufferedImage.
|
Rectangle2D |
ConvolveOp.getBounds2D(BufferedImage
Returns the bounding box of the filtered destination image.
|
Rectangle2D |
RescaleOp.getBounds2D(BufferedImage
Returns the bounding box of the rescaled destination image.
|
Rectangle2D |
ColorConvertOp.getBounds2D(BufferedImage
Returns the bounding box of the destination, given this source.
|
Rectangle2D |
AffineTransformOp.getBounds2D(BufferedImage
Returns the bounding box of the transformed destination.
|
Rectangle2D |
BufferedImageOp.getBounds2D(BufferedImage
Returns the bounding box of the filtered destination image.
|
Rectangle2D |
LookupOp.getBounds2D(BufferedImage
Returns the bounding box of the filtered destination image.
|
| Modifier and Type | Field and Description |
|---|---|
protected BufferedImage |
ImageReadParam.destination
The current destination
BufferedImage, or
null if none has been set.
|
| Modifier and Type | Field and Description |
|---|---|
protected List |
IIOImage.thumbnails
A
List of
BufferedImage thumbnails, or
null.
|
| Modifier and Type | Method and Description |
|---|---|
BufferedImage |
ImageTypeSpecifier.createBufferedImage(int width, int height)
Creates a
BufferedImage with a given width and height according to the specification embodied in this object.
|
BufferedImage |
ImageReadParam.getDestination()
Returns the
BufferedImage currently set by the
setDestination method, or
null if none is set.
|
protected static BufferedImage |
ImageReader.getDestination(ImageReadParam
Returns the
BufferedImage to which decoded pixel data should be written.
|
BufferedImage |
IIOImage.getThumbnail(int index)
Returns a thumbnail associated with the main image.
|
static BufferedImage |
ImageIO.read(File
Returns a
BufferedImage as the result of decoding a supplied
File with an
ImageReader chosen automatically from among those currently registered.
|
static BufferedImage |
ImageIO.read(ImageInputStream
Returns a
BufferedImage as the result of decoding a supplied
ImageInputStream with an
ImageReader chosen automatically from among those currently registered.
|
static BufferedImage |
ImageIO.read(InputStream
Returns a
BufferedImage as the result of decoding a supplied
InputStream with an
ImageReader chosen automatically from among those currently registered.
|
BufferedImage |
ImageReader.read(int imageIndex)
Reads the image indexed by
imageIndex and returns it as a complete
BufferedImage, using a default
ImageReadParam.
|
abstract BufferedImage |
ImageReader.read(int imageIndex, ImageReadParam
Reads the image indexed by
imageIndex and returns it as a complete
BufferedImage, using a supplied
ImageReadParam.
|
static BufferedImage |
ImageIO.read(URL
Returns a
BufferedImage as the result of decoding a supplied
URL with an
ImageReader chosen automatically from among those currently registered.
|
BufferedImage |
ImageReader.readThumbnail(int imageIndex, int thumbnailIndex)
Returns the thumbnail preview image indexed by
thumbnailIndex, associated with the image indexed by
ImageIndex as a
BufferedImage.
|
BufferedImage |
ImageReader.readTile(int imageIndex, int tileX, int tileY)
Reads the tile indicated by the
tileX and
tileY arguments, returning it as a
BufferedImage.
|
| Modifier and Type | Method and Description |
|---|---|
List |
IIOImage.getThumbnails()
Returns the current
List of thumbnail
BufferedImages, or
null if none is set.
|
| Modifier and Type | Method and Description |
|---|---|
protected static void |
ImageReader.computeRegions(ImageReadParam
Computes the source region of interest and the destination region of interest, taking the width and height of the source image, an optional destination image, and an optional
ImageReadParam into account.
|
protected void |
ImageReader.processImageUpdate(BufferedImage
Broadcasts the update of a set of samples to all registered
IIOReadUpdateListeners by calling their
imageUpdate method.
|
protected void |
ImageReader.processPassComplete(BufferedImage
Broadcasts the end of a progressive pass to all registered
IIOReadUpdateListeners by calling their
passComplete method.
|
protected void |
ImageReader.processPassStarted(BufferedImage
Broadcasts the beginning of a progressive pass to all registered
IIOReadUpdateListeners by calling their
passStarted method.
|
protected void |
ImageReader.processThumbnailPassComplete(BufferedImage
Broadcasts the end of a thumbnail progressive pass to all registered
IIOReadUpdateListeners by calling their
thumbnailPassComplete method.
|
protected void |
ImageReader.processThumbnailPassStarted(BufferedImage
Broadcasts the beginning of a thumbnail progressive pass to all registered
IIOReadUpdateListeners by calling their
thumbnailPassStarted method.
|
protected void |
ImageReader.processThumbnailUpdate(BufferedImage
Broadcasts the update of a set of samples in a thumbnail image to all registered
IIOReadUpdateListeners by calling their
thumbnailUpdate method.
|
void |
ImageReadParam.setDestination(BufferedImage
Supplies a
BufferedImage to be used as the destination for decoded pixel data.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ImageWriter.prepareInsertEmpty(int imageIndex, ImageTypeSpecifier
Begins the insertion of a new image with undefined pixel values into an existing image stream.
|
void |
ImageWriter.prepareWriteEmpty(IIOMetadata
Begins the writing of a complete image stream, consisting of a single image with undefined pixel values and associated metadata and thumbnails, to the output.
|
void |
IIOImage.setThumbnails(List
Sets the list of thumbnails to a new
List of
BufferedImages, or to
null.
|
| Constructor and Description | |
|---|---|
IIOImage(Raster
Constructs an
IIOImage containing a
Raster, and thumbnails and metadata associated with it.
|
|
IIOImage(RenderedImage
Constructs an
IIOImage containing a
RenderedImage, and thumbnails and metadata associated with it.
|
| Modifier and Type | Method and Description |
|---|---|
void |
IIOReadUpdateListener.imageUpdate(ImageReader
Reports that a given region of the image has been updated.
|
void |
IIOReadUpdateListener.passComplete(ImageReader
Reports that the current read operation has completed a progressive pass.
|
void |
IIOReadUpdateListener.passStarted(ImageReader
Reports that the current read operation is about to begin a progressive pass.
|
void |
IIOReadUpdateListener.thumbnailPassComplete(ImageReader
Reports that the current thumbnail read operation has completed a progressive pass.
|
void |
IIOReadUpdateListener.thumbnailPassStarted(ImageReader
Reports that the current thumbnail read operation is about to begin a progressive pass.
|
void |
IIOReadUpdateListener.thumbnailUpdate(ImageReader
Reports that a given region of a thumbnail image has been updated.
|