The Java Image I/O API (the javax.imageio package) contains the basic classes and interfaces for reading/writing BufferedImages and RenderedImages from/to image files and streams.
The Java Image I/O API (the javax.imageio
package) contains the basic classes and interfaces for reading/writing BufferedImage
s and RenderedImage
s from/to image files and streams.
Many common image I/O operations may be performed using the static methods of the ImageIO
class.
The package contains classes describing the contents of image files, including metadata and thumbnails (IIOImage
); for controlling the image reading process (ImageReader
, ImageReadParam
, and ImageTypeSpecifier
) and image writing process (ImageWriter
and ImageWriteParam
); for performing transcoding between formats (ImageTranscoder
), and for reporting errors (IIOException
).
All implementations of javax.imageio
provide the following standard image format plug-ins: JPEG, PNG, BMP, WBMP and GIF.
The javax.imageio
package has been available since Java (J2SE) 1.4.