| Package | Description |
|---|---|
| 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.
|
| 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 |
|---|---|
static ImageWriter |
ImageIO.getImageWriter(ImageReader
Returns an
ImageWritercorresponding to the given
ImageReader, if there is one, or
null if the plug-in for this
ImageReader does not specify a corresponding
ImageWriter, or if the given
ImageReader is not registered.
|
| Modifier and Type | Method and Description |
|---|---|
static Iterator |
ImageIO.getImageWriters(ImageTypeSpecifier
Returns an
Iterator containing all currently registered
ImageWriters that claim to be able to encode images of the given layout (specified using an
ImageTypeSpecifier) in the given format.
|
static Iterator |
ImageIO.getImageWritersByFormatName(String
Returns an
Iterator containing all currently registered
ImageWriters that claim to be able to encode the named format.
|
static Iterator |
ImageIO.getImageWritersByMIMEType(String
Returns an
Iterator containing all currently registered
ImageWriters that claim to be able to encode files with the given MIME type.
|
static Iterator |
ImageIO.getImageWritersBySuffix(String
Returns an
Iterator containing all currently registered
ImageWriters that claim to be able to encode files with the given suffix.
|
| Modifier and Type | Method and Description |
|---|---|
static ImageReader |
ImageIO.getImageReader(ImageWriter
Returns an
ImageReadercorresponding to the given
ImageWriter, if there is one, or
null if the plug-in for this
ImageWriter does not specify a corresponding
ImageReader, or if the given
ImageWriter is not registered.
|
static Iterator |
ImageIO.getImageTranscoders(ImageReader
Returns an
Iterator containing all currently registered
ImageTranscoders that claim to be able to transcode between the metadata of the given
ImageReader and
ImageWriter.
|
| Modifier and Type | Method and Description |
|---|---|
void |
IIOWriteProgressListener.imageComplete(ImageWriter
Reports that the image write operation has completed.
|
void |
IIOWriteProgressListener.imageProgress(ImageWriter
Reports the approximate degree of completion of the current
write call within the associated
ImageWriter.
|
void |
IIOWriteProgressListener.imageStarted(ImageWriter
Reports that an image write operation is beginning.
|
void |
IIOWriteProgressListener.thumbnailComplete(ImageWriter
Reports that a thumbnail write operation has completed.
|
void |
IIOWriteProgressListener.thumbnailProgress(ImageWriter
Reports the approximate degree of completion of the current thumbnail write within the associated
ImageWriter.
|
void |
IIOWriteProgressListener.thumbnailStarted(ImageWriter
Reports that a thumbnail write operation is beginning.
|
void |
IIOWriteWarningListener.warningOccurred(ImageWriter
Reports the occurrence of a non-fatal error in encoding.
|
void |
IIOWriteProgressListener.writeAborted(ImageWriter
Reports that a write has been aborted via the writer's
abort method.
|
| Modifier and Type | Method and Description |
|---|---|
ImageWriter |
ImageWriterSpi.createWriterInstance()
Returns an instance of the
ImageWriter implementation associated with this service provider.
|
abstract ImageWriter |
ImageWriterSpi.createWriterInstance(Object
Returns an instance of the
ImageWriter implementation associated with this service provider.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
ImageWriterSpi.isOwnWriter(ImageWriter
Returns
true if the
ImageWriter object passed in is an instance of the
ImageWriter associated with this service provider.
|