| 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.
|
| java.awt.image.renderable |
Provides classes and interfaces for producing rendering-independent images.
|
| javax.imageio |
The main package of the Java Image I/O API.
|
| javax.imageio.spi |
A package of the Java Image I/O API containing the plug-in interfaces for readers, writers, transcoders, and streams, and a runtime registry.
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
Graphics2D.drawRenderedImage(RenderedImage
Renders a
RenderedImage, applying a transform from image space into user space before drawing.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
WritableRenderedImage
WriteableRenderedImage is a common interface for objects which contain or can produce image data in the form of Rasters and which can be modified and/or written over.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BufferedImage
The
BufferedImage subclass describes an
Image with an accessible buffer of image data.
|
| Modifier and Type | Method and Description |
|---|---|
Vector |
BufferedImage.getSources()
Returns a
Vector of
RenderedImage objects that are the immediate sources, not the sources of these immediate sources, of image data for this
BufferedImage.
|
Vector |
RenderedImage.getSources()
Returns a vector of RenderedImages that are the immediate sources of image data for this RenderedImage.
|
| Modifier and Type | Method and Description |
|---|---|
RenderedImage |
RenderedImageFactory.create(ParameterBlock
Creates a RenderedImage representing the results of an imaging operation (or chain of operations) for a given ParameterBlock and RenderingHints.
|
RenderedImage |
ContextualRenderedImageFactory.create(RenderContext
Creates a rendering, given a RenderContext and a ParameterBlock containing the operation's sources and parameters.
|
RenderedImage |
RenderableImageOp.createDefaultRendering()
Gets a RenderedImage instance of this image with a default width and height in pixels.
|
RenderedImage |
RenderableImage.createDefaultRendering()
Returnd a RenderedImage instance of this image with a default width and height in pixels.
|
RenderedImage |
RenderableImageOp.createRendering(RenderContext
Creates a RenderedImage which represents this RenderableImageOp (including its Renderable sources) rendered according to the given RenderContext.
|
RenderedImage |
RenderableImage.createRendering(RenderContext
Creates a RenderedImage that represented a rendering of this image using a given RenderContext.
|
RenderedImage |
RenderableImageOp.createScaledRendering(int w, int h, RenderingHints
Creates a RenderedImage instance of this image with width w, and height h in pixels.
|
RenderedImage |
RenderableImage.createScaledRendering(int w, int h, RenderingHints
Creates a RenderedImage instance of this image with width w, and height h in pixels.
|
RenderedImage |
ParameterBlock.getRenderedSource(int index)
Returns a source as a
RenderedImage.
|
| Modifier and Type | Field and Description |
|---|---|
protected RenderedImage |
IIOImage.image
The
RenderedImage being referenced.
|
| Modifier and Type | Method and Description |
|---|---|
RenderedImage |
IIOImage.getRenderedImage()
Returns the currently set
RenderedImage, or
null if only a
Raster is available.
|
RenderedImage |
ImageReader.readAsRenderedImage(int imageIndex, ImageReadParam
Returns a
RenderedImage object that contains the contents of the image indexed by
imageIndex.
|
| Modifier and Type | Method and Description |
|---|---|
static ImageTypeSpecifier |
ImageTypeSpecifier.createFromRenderedImage(RenderedImage
Returns an
ImageTypeSpecifier that encodes the layout of a
RenderedImage (which may be a
BufferedImage).
|
void |
ImageWriter.replacePixels(RenderedImage
Replaces a portion of an image already present in the output with a portion of the given image.
|
void |
IIOImage.setRenderedImage(RenderedImage
Sets the current
RenderedImage.
|
void |
ImageWriter.write(RenderedImage
Appends a complete image stream consisting of a single image with default metadata and thumbnails to the output.
|
static boolean |
ImageIO.write(RenderedImage
Writes an image using an arbitrary
ImageWriter that supports the given format to a
File.
|
static boolean |
ImageIO.write(RenderedImage
Writes an image using the an arbitrary
ImageWriter that supports the given format to an
ImageOutputStream.
|
static boolean |
ImageIO.write(RenderedImage
Writes an image using an arbitrary
ImageWriter that supports the given format to an
OutputStream.
|
| Constructor and Description | |
|---|---|
IIOImage(RenderedImage
Constructs an
IIOImage containing a
RenderedImage, and thumbnails and metadata associated with it.
|
|
ImageTypeSpecifier(RenderedImage
Constructs an
ImageTypeSpecifier from a
RenderedImage.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
ImageWriterSpi.canEncodeImage(RenderedImage
Returns
true if the
ImageWriter implementation associated with this service provider is able to encode the given
RenderedImage instance.
|