40 |
<head><title>GNU Classpath - javax.imageio</title></head> |
<head><title>GNU Classpath - javax.imageio</title></head> |
41 |
|
|
42 |
<body> |
<body> |
43 |
<p></p> |
<p> |
44 |
|
This package provides image input/output APIs. |
45 |
|
</p> |
46 |
|
<p> |
47 |
|
The standard class library provides other ways of loading images (@see |
48 |
|
java.awt.Toolkit, @see java.awt.Component)) but the ImageIO package is |
49 |
|
more powerful. |
50 |
|
</p> |
51 |
|
<p> |
52 |
|
The static ImageIO class supports reading and writing images in many |
53 |
|
different formats along with most other basic image I/O operations. |
54 |
|
</p> |
55 |
|
<p> |
56 |
|
Other classes provide finer control of image-related operations; |
57 |
|
reading is controlled by ImageReader, ImageReadParam and |
58 |
|
ImageTypeSpecifyer, writing by ImageWriter and ImageWriteParam. |
59 |
|
ImageTranscoder allows fine-grained control over how images are |
60 |
|
converted between formats and IIOException reports errors. IIOImage |
61 |
|
describes an image file in detail including metadata and thumbnails. |
62 |
|
</p> |
63 |
|
<h2>Supported Formats</h2> |
64 |
|
<p> |
65 |
|
The default GNU Classpath ImageIO backend uses ImageMagick and so |
66 |
|
supports the following formats: |
67 |
|
<table> |
68 |
|
<tr> |
69 |
|
<th></th> <th>Read</th> <th>Write</th> |
70 |
|
</tr> |
71 |
|
<tr><td>JPEG</td><td>yes</td><td>yes</td></tr> |
72 |
|
<tr><td>PNG</td><td>yes</td><td>yes</td></tr> |
73 |
|
<tr><td>BMP</td><td>yes</td><td>yes</td></tr> |
74 |
|
<tr><td>WBMP</td><td>yes</td><td>yes</td></tr> |
75 |
|
<tr><td>GIF</td><td>yes</td><td>yes</td></tr> |
76 |
|
<tr><td>TIFF</td><td>yes</td><td>yes</td></tr> |
77 |
|
<tr><td>XPM</td><td>yes</td><td>yes</td></tr> |
78 |
|
<tr><td>TGA</td><td>yes</td><td>yes</td></tr> |
79 |
|
<tr><td>PDF</td><td>yes</td><td>no</td></tr> |
80 |
|
<tr><td>SVG</td><td>yes</td><td>no</td></tr> |
81 |
|
<table> |
82 |
|
</p> |
83 |
|
<p> |
84 |
|
@since 1.4 |
85 |
|
</p> |
86 |
</body> |
</body> |
87 |
</html> |
</html> |