This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: FOP: "No ImageReader" when using PDF as vector format




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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]