This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: FOP: "No ImageReader" when using PDF as vector format
- From: Joachim Ziegler <ziegler at mpi-sb dot mpg dot de>
- To: Shawn <javajunkie at koyuru dot com>
- Cc: "docbook-apps at lists dot oasis-open dot org" <docbook-apps at lists dot oasis-open dot org>
- Date: Mon, 17 Mar 2003 15:26:07 +0100
- Subject: Re: DOCBOOK-APPS: FOP: "No ImageReader" when using PDF as vector format
- References: <3E6E008E.5020906@mpi-sb.mpg.de><1047544472.1326.4.camel@localhost.localdomain>
Shawn wrote:
Hi,
I had the same problem and ended up adding image support for FOP.
The Jimi image library, which is by default used for processing images
in PNG and other formats, was removed from the distribution for
licensing reasons. So...:
Either
a) obtain Jimi from http://java.sun.com/products/jimi/ and
Extract the file "JimiProClasses.zip" from the archive you've
downloaded, rename it to "jimi-1.0.jar" and move it to FOP's lib
directory.
But following Bob Stayton's instructions, I've already got
JimiProClasses.jar in my CLASSPATH:
java -classpath \ $CLASSPATH:/KM/usr/ziegler/fop-0.20.5rc2/build/fop.jar:\
/KM/usr/ziegler/fop-0.20.5rc2/lib/batik.jar:\
/KM/usr/ziegler/fop-0.20.5rc2/lib/xalan-2.4.1.jar:\
/KM/usr/ziegler/fop-0.20.5rc2/lib/xercesImpl-2.2.1.jar:\
/KM/usr/ziegler/fop-0.20.5rc2/lib/JimiProClasses.jar:\
/KM/usr/ziegler/fop-0.20.5rc2/lib/avalon-framework-cvs-20020806.jar\
org.apache.fop.apps.Fop -fo pdf/LEDATutorium.fo -pdf pdf/LEDATutorium.pdf
and it is really there:
ganymed:~/fop-0.20.5rc2/lib$ ll JimiProClasses.jar
-rwxr--r-- 1 ziegler Mehlhorn 455489 Feb 26 15:12 JimiProClasses.jar
Joachim