From 3ec9f41f46ffe18abe28620149f4f1bc149c11df Mon Sep 17 00:00:00 2001 From: eschaeffer Date: Tue, 28 Nov 2000 16:06:14 +0000 Subject: [PATCH] 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 --- src/org/apache/fop/image/FopImageFactory.java | 6 ++++++ 1 file changed, 6 insertions(+) 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"; } -- 2.39.5