This package provides image input/output APIs.

The standard class library provides other ways of loading images (@see java.awt.Toolkit, @see java.awt.Component)) but the ImageIO package is more powerful.

The static ImageIO class supports reading and writing images in many different formats along with most other basic image I/O operations.

Other classes provide finer control of image-related operations; reading is controlled by ImageReader, ImageReadParam and ImageTypeSpecifyer, writing by ImageWriter and ImageWriteParam. ImageTranscoder allows fine-grained control over how images are converted between formats and IIOException reports errors. IIOImage describes an image file in detail including metadata and thumbnails.

## Supported Formats

The default GNU Classpath ImageIO backend uses ImageMagick and so supports the following formats:

| Read | Write
--- | --- | ---
JPEG | yes | yes
PNG | yes | yes
BMP | yes | yes
WBMP | yes | yes
GIF | yes | yes
TIFF | yes | yes
XPM | yes | yes
TGA | yes | yes
PDF | yes | no
SVG | yes | no

@since 1.4