Permalink
Browse files

A note on JAI ImageIO Tools which provide additional codecs like TIFF.

  • Loading branch information...
1 parent d6e5275 commit a527822cca6b0a6d0d2f88258d2e3cb835f5899c @jmaerki jmaerki committed Dec 21, 2007
Showing with 17 additions and 4 deletions.
  1. +17 −4 src/documentation/content/xdocs/image-loader.xml
@@ -16,11 +16,11 @@
limitations under the License.
-->
<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" "http://forrest.apache.org/dtd/document-v20.dtd">
-<document>
- <header>
- <title>Image Loader Framework</title>
+<document>
+ <header>
+ <title>Image Loader Framework</title>
</header>
- <body>
+ <body>
<section id="overview">
<title>Overview</title>
<p>
@@ -210,6 +210,19 @@ import org.apache.xmlgraphics.image.loader.ImageFlavor;
</note>
</section>
</section>
+ <section id="tipsntricks">
+ <title>Tips &amp; Tricks</title>
+ <p>
+ If you are loading bitmap images and you get an error like
+ <code>"Cannot load image (no suitable loader/converter combination available) for
+ myimage.tif (image/tiff)</code>,
+ you maybe be missing the necessary ImageIO codec to decode the image. A number of
+ well-written codecs can be found in
+ <a href="https://jai-imageio.dev.java.net/">JAI Image I/O Tools Project</a>. Just download
+ the distribution and add the JAR to the classpath. ImageIO will automatically pick up
+ the new codecs and they will subsequently be available to the image framework.
+ </p>
+ </section>
<section id="spi">
<title>Service Provider Interface (SPI, Plug-ins)</title>
<p>

0 comments on commit a527822

Please sign in to comment.