Uses of Class
javax.imageio.ImageWriter
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 ImageWriter in javax.imageio
Modifier and TypeMethodDescriptionstatic 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.Modifier and TypeMethodDescriptionstatic Iterator<ImageWriter>
ImageIO.getImageWriters(ImageTypeSpecifier type, String formatName)
Returns anIterator
containing all currently registeredImageWriter
s that claim to be able to encode images of the given layout (specified using anImageTypeSpecifier
) in the given format.static Iterator<ImageWriter>
ImageIO.getImageWritersByFormatName(String formatName)
Returns anIterator
containing all currently registeredImageWriter
s that claim to be able to encode the named format.static Iterator<ImageWriter>
ImageIO.getImageWritersByMIMEType(String MIMEType)
Returns anIterator
containing all currently registeredImageWriter
s that claim to be able to encode files with the given MIME type.static Iterator<ImageWriter>
ImageIO.getImageWritersBySuffix(String fileSuffix)
Returns anIterator
containing all currently registeredImageWriter
s that claim to be able to encode files with the given suffix.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.static 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
. -
Uses of ImageWriter in javax.imageio.event
Modifier and TypeMethodDescriptionvoid
IIOWriteProgressListener.imageComplete(ImageWriter source)
Reports that the image write operation has completed.void
IIOWriteProgressListener.imageProgress(ImageWriter source, float percentageDone)
Reports the approximate degree of completion of the currentwrite
call within the associatedImageWriter
.void
IIOWriteProgressListener.imageStarted(ImageWriter source, int imageIndex)
Reports that an image write operation is beginning.void
IIOWriteProgressListener.thumbnailComplete(ImageWriter source)
Reports that a thumbnail write operation has completed.void
IIOWriteProgressListener.thumbnailProgress(ImageWriter source, float percentageDone)
Reports the approximate degree of completion of the current thumbnail write within the associatedImageWriter
.void
IIOWriteProgressListener.thumbnailStarted(ImageWriter source, int imageIndex, int thumbnailIndex)
Reports that a thumbnail write operation is beginning.void
IIOWriteWarningListener.warningOccurred(ImageWriter source, int imageIndex, String warning)
Reports the occurrence of a non-fatal error in encoding.void
IIOWriteProgressListener.writeAborted(ImageWriter source)
Reports that a write has been aborted via the writer'sabort
method. -
Uses of ImageWriter in javax.imageio.spi
Modifier and TypeMethodDescriptionImageWriterSpi.createWriterInstance()
Returns an instance of theImageWriter
implementation associated with this service provider.abstract ImageWriter
ImageWriterSpi.createWriterInstance(Object extension)
Returns an instance of theImageWriter
implementation associated with this service provider.Modifier and TypeMethodDescriptionboolean
ImageWriterSpi.isOwnWriter(ImageWriter writer)
Returnstrue
if theImageWriter
object passed in is an instance of theImageWriter
associated with this service provider.