javax.imageio.event (Java SE 17 & JDK 17)
Description: declaration: module: java.desktop, package: javax.imageio.event
Keywords: javax.imageio.event package

Module java.desktop

# Package javax.imageio.event

package 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.

The `IIOReadProgressListener` interface allows for notification of the percentage of an image that has been read successfully.

The `IIOReadUpdateListener` interface allows for notification of the portions of an image that have been read. This is useful, for example, for implementing dynamic display of an image as it is loaded.

The `IIOReadWarningListener` interface allows for notification of non-fatal errors during reading.

The `IIOWriteWarningListener` and `IIOWriteProgressListener` interfaces perform analogous functions for writers.

Since:
  1.4

- Related Packages
  Package
  Description
  javax.imageio
  The main package of the Java Image I/O API.
  javax.imageio.metadata
  A package of the Java Image I/O API dealing with reading and writing metadata.
  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.
  javax.imageio.stream
  A package of the Java Image I/O API dealing with low-level I/O from files and streams.
- Interfaces
  Class
  Description
  IIOReadProgressListener
  An interface used by `ImageReader` implementations to notify callers of their image and thumbnail reading methods of progress.
  IIOReadUpdateListener
  An interface used by `ImageReader` implementations to notify callers of their image and thumbnail reading methods of pixel updates.
  IIOReadWarningListener
  An interface used by `ImageReader` implementations to notify callers of their image and thumbnail reading methods of warnings (non-fatal errors).
  IIOWriteProgressListener
  An interface used by `ImageWriter` implementations to notify callers of their image writing methods of progress.
  IIOWriteWarningListener
  An interface used by `ImageWriter` implementations to notify callers of their image and thumbnail reading methods of warnings (non-fatal errors).