1 |
772 |
jeremybenn |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
|
2 |
|
|
<!-- package.html - describes classes in javax.imageio package.
|
3 |
|
|
Copyright (C) 2004 Free Software Foundation, Inc.
|
4 |
|
|
|
5 |
|
|
This file is part of GNU Classpath.
|
6 |
|
|
|
7 |
|
|
GNU Classpath is free software; you can redistribute it and/or modify
|
8 |
|
|
it under the terms of the GNU General Public License as published by
|
9 |
|
|
the Free Software Foundation; either version 2, or (at your option)
|
10 |
|
|
any later version.
|
11 |
|
|
|
12 |
|
|
GNU Classpath is distributed in the hope that it will be useful, but
|
13 |
|
|
WITHOUT ANY WARRANTY; without even the implied warranty of
|
14 |
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
15 |
|
|
General Public License for more details.
|
16 |
|
|
|
17 |
|
|
You should have received a copy of the GNU General Public License
|
18 |
|
|
along with GNU Classpath; see the file COPYING. If not, write to the
|
19 |
|
|
Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
20 |
|
|
02110-1301 USA.
|
21 |
|
|
|
22 |
|
|
Linking this library statically or dynamically with other modules is
|
23 |
|
|
making a combined work based on this library. Thus, the terms and
|
24 |
|
|
conditions of the GNU General Public License cover the whole
|
25 |
|
|
combination.
|
26 |
|
|
|
27 |
|
|
As a special exception, the copyright holders of this library give you
|
28 |
|
|
permission to link this library with independent modules to produce an
|
29 |
|
|
executable, regardless of the license terms of these independent
|
30 |
|
|
modules, and to copy and distribute the resulting executable under
|
31 |
|
|
terms of your choice, provided that you also meet, for each linked
|
32 |
|
|
independent module, the terms and conditions of the license of that
|
33 |
|
|
module. An independent module is a module which is not derived from
|
34 |
|
|
or based on this library. If you modify this library, you may extend
|
35 |
|
|
this exception to your version of the library, but you are not
|
36 |
|
|
obligated to do so. If you do not wish to do so, delete this
|
37 |
|
|
exception statement from your version. -->
|
38 |
|
|
|
39 |
|
|
<html>
|
40 |
|
|
<head><title>GNU Classpath - javax.imageio</title></head>
|
41 |
|
|
|
42 |
|
|
<body>
|
43 |
|
|
<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>
|
87 |
|
|
</html>
|