Uses of Class
javax.imageio.ImageReader
Package
Description
The main package of the Java Image I/O API.
A package of the Java Image I/O API dealing with synchronous notification of
events during the reading and writing of images.
A package of the Java Image I/O API containing the plug-in interfaces for
readers, writers, transcoders, and streams, and a runtime registry.
-
Uses of ImageReader in javax.imageio
Modifier and TypeMethodDescriptionstatic ImageReader
ImageIO.getImageReader(ImageWriter writer)
Returns anImageReader
corresponding to the givenImageWriter
, if there is one, ornull
if the plug-in for thisImageWriter
does not specify a correspondingImageReader
, or if the givenImageWriter
is not registered.Modifier and TypeMethodDescriptionstatic Iterator<ImageReader>
ImageIO.getImageReaders(Object input)
Returns anIterator
containing all currently registeredImageReader
s that claim to be able to decode the suppliedObject
, typically anImageInputStream
.static Iterator<ImageReader>
ImageIO.getImageReadersByFormatName(String formatName)
Returns anIterator
containing all currently registeredImageReader
s that claim to be able to decode the named format.static Iterator<ImageReader>
ImageIO.getImageReadersByMIMEType(String MIMEType)
Returns anIterator
containing all currently registeredImageReader
s that claim to be able to decode files with the given MIME type.static Iterator<ImageReader>
ImageIO.getImageReadersBySuffix(String fileSuffix)
Returns anIterator
containing all currently registeredImageReader
s that claim to be able to decode files with the given suffix.Modifier and TypeMethodDescriptionstatic Iterator<ImageTranscoder>
ImageIO.getImageTranscoders(ImageReader reader, ImageWriter writer)
Returns anIterator
containing all currently registeredImageTranscoder
s that claim to be able to transcode between the metadata of the givenImageReader
andImageWriter
.static ImageWriter
ImageIO.getImageWriter(ImageReader reader)
Returns anImageWriter
corresponding to the givenImageReader
, if there is one, ornull
if the plug-in for thisImageReader
does not specify a correspondingImageWriter
, or if the givenImageReader
is not registered. -
Uses of ImageReader in javax.imageio.event
Modifier and TypeMethodDescriptionvoid
IIOReadProgressListener.imageComplete(ImageReader source)
Reports that the current image read operation has completed.void
IIOReadProgressListener.imageProgress(ImageReader source, float percentageDone)
Reports the approximate degree of completion of the currentread
call of the associatedImageReader
.void
IIOReadProgressListener.imageStarted(ImageReader source, int imageIndex)
Reports that an image read operation is beginning.void
IIOReadUpdateListener.imageUpdate(ImageReader source, BufferedImage theImage, int minX, int minY, int width, int height, int periodX, int periodY, int[] bands)
Reports that a given region of the image has been updated.void
IIOReadUpdateListener.passComplete(ImageReader source, BufferedImage theImage)
Reports that the current read operation has completed a progressive pass.void
IIOReadUpdateListener.passStarted(ImageReader source, BufferedImage theImage, int pass, int minPass, int maxPass, int minX, int minY, int periodX, int periodY, int[] bands)
Reports that the current read operation is about to begin a progressive pass.void
IIOReadProgressListener.readAborted(ImageReader source)
Reports that a read has been aborted via the reader'sabort
method.void
IIOReadProgressListener.sequenceComplete(ImageReader source)
Reports that a sequence of read operations has completed.void
IIOReadProgressListener.sequenceStarted(ImageReader source, int minIndex)
Reports that a sequence of read operations is beginning.void
IIOReadProgressListener.thumbnailComplete(ImageReader source)
Reports that a thumbnail read operation has completed.void
IIOReadUpdateListener.thumbnailPassComplete(ImageReader source, BufferedImage theThumbnail)
Reports that the current thumbnail read operation has completed a progressive pass.void
IIOReadUpdateListener.thumbnailPassStarted(ImageReader source, BufferedImage theThumbnail, int pass, int minPass, int maxPass, int minX, int minY, int periodX, int periodY, int[] bands)
Reports that the current thumbnail read operation is about to begin a progressive pass.void
IIOReadProgressListener.thumbnailProgress(ImageReader source, float percentageDone)
Reports the approximate degree of completion of the currentgetThumbnail
call within the associatedImageReader
.void
IIOReadProgressListener.thumbnailStarted(ImageReader source, int imageIndex, int thumbnailIndex)
Reports that a thumbnail read operation is beginning.void
IIOReadUpdateListener.thumbnailUpdate(ImageReader source, BufferedImage theThumbnail, int minX, int minY, int width, int height, int periodX, int periodY, int[] bands)
Reports that a given region of a thumbnail image has been updated.void
IIOReadWarningListener.warningOccurred(ImageReader source, String warning)
Reports the occurrence of a non-fatal error in decoding. -
Uses of ImageReader in javax.imageio.spi
Modifier and TypeMethodDescriptionImageReaderSpi.createReaderInstance()
Returns an instance of theImageReader
implementation associated with this service provider.abstract ImageReader
ImageReaderSpi.createReaderInstance(Object extension)
Returns an instance of theImageReader
implementation associated with this service provider.Modifier and TypeMethodDescriptionboolean
ImageReaderSpi.isOwnReader(ImageReader reader)
Returnstrue
if theImageReader
object passed in is an instance of theImageReader
associated with this service provider.