[ no response in batik-users so desperately posting in dev ]

Hi

I followed the instructions in the Pawson fop faq as follows:
<image width="170" height="109" xlink:href="data:image/jpeg;base64,R0lGO...

This renders perfectly in a browser but fails when I try to render with
fop, see below.

I would be real grateful if someone could send me an example of a
graphic embedded in an svg that they have managed to render to pdf.
Ideally I am not looking for the complete svg file but rather just the
node(s) required to embed in some arbitary svg.  Importantly, please
let me know the version number of fop and batik that you used.

Thanx

start of fop error message:


Input mode: FO
fo input file: graphic.fo
Output mode: pdf
output file: /tmp/g.pdf
OPTIONS
user configuration file: /home/eric/userconfig.xml
debug mode on
dump configuration
quiet mode on
reading user configuration file
base directory: file:/home/eric/
FOP 0.20.1
using SAX parser org.apache.xerces.parsers.SAXParser
building formatting object tree
setting up fonts
 [1]Exception in thread "main" java.lang.ExceptionInInitializerError
        at 
org.apache.batik.ext.awt.image.spi.ImageTagRegistry.getRegistry(ImageTagRegistry.java:218)
        at 
org.apache.batik.bridge.SVGImageElementBridge.createRasterImageNode(SVGImageElementBridge.java:169)
        at 
org.apache.batik.bridge.SVGImageElementBridge.createGraphicsNode(SVGImageElementBridge.java:112)
        at org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(GVTBuilder.java:170)
        at org.apache.batik.bridge.GVTBuilder.buildComposite(GVTBuilder.java:136)
        at org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(GVTBuilder.java:176)
        at org.apache.batik.bridge.GVTBuilder.buildComposite(GVTBuilder.java:136)
        at org.apache.batik.bridge.GVTBuilder.build(GVTBuilder.java:69)
        at org.apache.fop.render.pdf.PDFRenderer.renderSVGDocument(PDFRenderer.j

-- 
Eric Smith


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to