package.html 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. <!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. This file is part of GNU Classpath.
  5. GNU Classpath is free software; you can redistribute it and/or modify
  6. it under the terms of the GNU General Public License as published by
  7. the Free Software Foundation; either version 2, or (at your option)
  8. any later version.
  9. GNU Classpath is distributed in the hope that it will be useful, but
  10. WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  12. General Public License for more details.
  13. You should have received a copy of the GNU General Public License
  14. along with GNU Classpath; see the file COPYING. If not, write to the
  15. Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
  16. 02110-1301 USA.
  17. Linking this library statically or dynamically with other modules is
  18. making a combined work based on this library. Thus, the terms and
  19. conditions of the GNU General Public License cover the whole
  20. combination.
  21. As a special exception, the copyright holders of this library give you
  22. permission to link this library with independent modules to produce an
  23. executable, regardless of the license terms of these independent
  24. modules, and to copy and distribute the resulting executable under
  25. terms of your choice, provided that you also meet, for each linked
  26. independent module, the terms and conditions of the license of that
  27. module. An independent module is a module which is not derived from
  28. or based on this library. If you modify this library, you may extend
  29. this exception to your version of the library, but you are not
  30. obligated to do so. If you do not wish to do so, delete this
  31. exception statement from your version. -->
  32. <html>
  33. <head><title>GNU Classpath - javax.imageio</title></head>
  34. <body>
  35. <p>
  36. This package provides image input/output APIs.
  37. </p>
  38. <p>
  39. The standard class library provides other ways of loading images (@see
  40. java.awt.Toolkit, @see java.awt.Component)) but the ImageIO package is
  41. more powerful.
  42. </p>
  43. <p>
  44. The static ImageIO class supports reading and writing images in many
  45. different formats along with most other basic image I/O operations.
  46. </p>
  47. <p>
  48. Other classes provide finer control of image-related operations;
  49. reading is controlled by ImageReader, ImageReadParam and
  50. ImageTypeSpecifyer, writing by ImageWriter and ImageWriteParam.
  51. ImageTranscoder allows fine-grained control over how images are
  52. converted between formats and IIOException reports errors. IIOImage
  53. describes an image file in detail including metadata and thumbnails.
  54. </p>
  55. <h2>Supported Formats</h2>
  56. <p>
  57. The default GNU Classpath ImageIO backend uses ImageMagick and so
  58. supports the following formats:
  59. <table>
  60. <tr>
  61. <th></th> <th>Read</th> <th>Write</th>
  62. </tr>
  63. <tr><td>JPEG</td><td>yes</td><td>yes</td></tr>
  64. <tr><td>PNG</td><td>yes</td><td>yes</td></tr>
  65. <tr><td>BMP</td><td>yes</td><td>yes</td></tr>
  66. <tr><td>WBMP</td><td>yes</td><td>yes</td></tr>
  67. <tr><td>GIF</td><td>yes</td><td>yes</td></tr>
  68. <tr><td>TIFF</td><td>yes</td><td>yes</td></tr>
  69. <tr><td>XPM</td><td>yes</td><td>yes</td></tr>
  70. <tr><td>TGA</td><td>yes</td><td>yes</td></tr>
  71. <tr><td>PDF</td><td>yes</td><td>no</td></tr>
  72. <tr><td>SVG</td><td>yes</td><td>no</td></tr>
  73. <table>
  74. </p>
  75. <p>
  76. @since 1.4
  77. </p>
  78. </body>
  79. </html>