W3cubDocs

/OpenJDK 21

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

© 1993, 2023, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/21/docs/api/java.desktop/javax/imageio/event/package-summary.html