diff options
author | eschaeffer <eschaeffer@unknown> | 2000-11-28 16:06:14 +0000 |
---|---|---|
committer | eschaeffer <eschaeffer@unknown> | 2000-11-28 16:06:14 +0000 |
commit | 3ec9f41f46ffe18abe28620149f4f1bc149c11df (patch) | |
tree | ff9761596a6cdd8e0845ee5af3e9df3a6dea3bec /src/org/apache/fop/image | |
parent | 32f31beb09c86878630ed3b0c935107fffc85a83 (diff) | |
download | xmlgraphics-fop-3ec9f41f46ffe18abe28620149f4f1bc149c11df.tar.gz xmlgraphics-fop-3ec9f41f46ffe18abe28620149f4f1bc149c11df.zip |
support for the JAIImage class is added, but commented. To use the JAIImage class, uncomment the corresponding lines and compile FOP.
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193845 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/org/apache/fop/image')
-rw-r--r-- | src/org/apache/fop/image/FopImageFactory.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/org/apache/fop/image/FopImageFactory.java b/src/org/apache/fop/image/FopImageFactory.java index 995a62a60..77eb0e5bc 100644 --- a/src/org/apache/fop/image/FopImageFactory.java +++ b/src/org/apache/fop/image/FopImageFactory.java @@ -130,16 +130,22 @@ public class FopImageFactory { String imgClassName = null; if ("image/gif".equals(imgMimeType)) { imgClassName = "org.apache.fop.image.GifJpegImage"; +// imgClassName = "org.apache.fop.image.JAIImage"; } else if ("image/jpeg".equals(imgMimeType)) { imgClassName = "org.apache.fop.image.GifJpegImage"; +// imgClassName = "org.apache.fop.image.JAIImage"; } else if ("image/bmp".equals(imgMimeType)) { imgClassName = "org.apache.fop.image.BmpImage"; +// imgClassName = "org.apache.fop.image.JAIImage"; } else if ("image/png".equals(imgMimeType)) { imgClassName = "org.apache.fop.image.JimiImage"; +// imgClassName = "org.apache.fop.image.JAIImage"; } else if ("image/tga".equals(imgMimeType)) { imgClassName = "org.apache.fop.image.JimiImage"; +// imgClassName = "org.apache.fop.image.JAIImage"; } else if ("image/tiff".equals(imgMimeType)) { imgClassName = "org.apache.fop.image.JimiImage"; +// imgClassName = "org.apache.fop.image.JAIImage"; } else if ("image/svg-xml".equals(imgMimeType)) { imgClassName = "org.apache.fop.image.SVGImage"; } |