| 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 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.
|
| Modifier and Type | Method and Description |
|---|---|
static Iterator |
ImageIO.getImageReaders(Object
Returns an
Iterator containing all currently registered
ImageReaders that claim to be able to decode the supplied
Object, typically an
ImageInputStream.
|
static Iterator |
ImageIO.getImageReadersByFormatName(String
Returns an
Iterator containing all currently registered
ImageReaders that claim to be able to decode the named format.
|
static Iterator |
ImageIO.getImageReadersByMIMEType(String
Returns an
Iterator containing all currently registered
ImageReaders that claim to be able to decode files with the given MIME type.
|
static Iterator |
ImageIO.getImageReadersBySuffix(String
Returns an
Iterator containing all currently registered
ImageReaders that claim to be able to decode files with the given suffix.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
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 |
|---|---|
void |
IIOReadProgressListener.imageComplete(ImageReader
Reports that the current image read operation has completed.
|
void |
IIOReadProgressListener.imageProgress(ImageReader
Reports the approximate degree of completion of the current
read call of the associated
ImageReader.
|
void |
IIOReadProgressListener.imageStarted(ImageReader
Reports that an image read operation is beginning.
|
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 |
IIOReadProgressListener.readAborted(ImageReader
Reports that a read has been aborted via the reader's
abort method.
|
void |
IIOReadProgressListener.sequenceComplete(ImageReader
Reports that a sequence of read operations has completed.
|
void |
IIOReadProgressListener.sequenceStarted(ImageReader
Reports that a sequence of read operations is beginning.
|
void |
IIOReadProgressListener.thumbnailComplete(ImageReader
Reports that a thumbnail read operation has completed.
|
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 |
IIOReadProgressListener.thumbnailProgress(ImageReader
Reports the approximate degree of completion of the current
getThumbnail call within the associated
ImageReader.
|
void |
IIOReadProgressListener.thumbnailStarted(ImageReader
Reports that a thumbnail read operation is beginning.
|
void |
IIOReadUpdateListener.thumbnailUpdate(ImageReader
Reports that a given region of a thumbnail image has been updated.
|
void |
IIOReadWarningListener.warningOccurred(ImageReader
Reports the occurrence of a non-fatal error in decoding.
|
| Modifier and Type | Method and Description |
|---|---|
ImageReader |
ImageReaderSpi.createReaderInstance()
Returns an instance of the
ImageReader implementation associated with this service provider.
|
abstract ImageReader |
ImageReaderSpi.createReaderInstance(Object
Returns an instance of the
ImageReader implementation associated with this service provider.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
ImageReaderSpi.isOwnReader(ImageReader
Returns
true if the
ImageReader object passed in is an instance of the
ImageReader associated with this service provider.
|