Hi I am having trouble processing graphics. The following block:
<fo:block>
<fo:external-graphic src="url(images/level1.svg)" content-height="6mm"
scaling="uniform"/>
</fo:block>
Produces a flood of error messages that begin with:
-----------------------
[ERROR] svg graphic could not be built: file:images/level1.svg:-1
An I/O error occured while processing the URI
'file:images/level1.svg#Bevel' spe
cified on the element <ellipse>
org.apache.batik.bridge.BridgeException: file:images/level1.svg:-1
An I/O error occured while processing the URI
'file:images/level1.svg#Bevel' spe
cified on the element <ellipse>
at
org.apache.batik.bridge.BridgeContext.getReferencedElement(Unknown So
urce)
[followed by a big exception chain]
----------------------
Looks like Batik cannot process the Bevel filter, so I rendered it
externally as a PNG and edited the graphic to make the background
transparent. Then I got a single error message:
----------------------
[ERROR] Error while creating area : Error creating FopImage object (Error
creati
ng FopImage object (file:images/level1.png) :
org.apache.fop.image.JimiImage
----------------------
I then converted the PNG into a JPEG file, and it worked as expected.
However, I would like to use SVG or PNG because of the transparency. Are
there limitation in how FOP processes PNG files? I tried other PNG files,
and could not process any of them. Any clue to what is going on?
I am using FOP 0.20.4. I attached the graphic files I used.
(See attached file: level1.jpg)(See attached file: level1.png)(See attached
file: level1.svg)
=============================================
Marcelo Jaccoud Amaral
Petrobr�s (http://www.petrobras.com.br)
mailto:[EMAIL PROTECTED]
voice: +55 21 2534-3485
fax: +55 21 2534-1809
=============================================
There are only 10 kinds of people in the world: those who understand binary
and those who don't.
<<attachment: level1.jpg>>
<<attachment: level1.png>>
level1.svg
Description: Binary data
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
