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
On Mon, Mar 17, 2003 at 03:51:19PM +0100, Joachim Ziegler wrote:
> Togan Muftuoglu wrote:
> > rename it to jimi-1.0.jar and retry
> >
>
> Sorry, it still does not work. I've got now:
>
> 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/jimi-1.0.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
>
>
> ganymed:~/fop-0.20.5rc2/lib$ ll jimi-1.0.jar
> -rwxr--r-- 1 ziegler Mehlhorn 455489 Mar 17 15:47 jimi-1.0.jar
>
>
> But I still get:
>
> [ERROR] Error while creating area : No ImageReader for this type of
> image (file:/KM/usr/ziegler/LEDA/Tutorial/pdf/Pictures/ArrayOfChar.pdf)
>
I think Jimi is being found, but it doesn't work with pdf graphics.
Jimi handles bitmap formats, while pdf is a vector format.
>From Sun's website:
"Jimi's range of supported formats includes GIF, JPEG, TIFF, PNG, PICT,
Photoshop, BMP, Targa, ICO, CUR, Sunraster, XBM, XPM, and PCX".
Does the FOP doc say that FOP handles PDF graphics?
I think they have concentrated on SVG for vector graphics.
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
The SCO Group fax: (831) 429-1887
email: bobs at sco dot com