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

Module java.desktop

# 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

- Interface Summary
  Interface | 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).