Please let me know How Do I use PNG graphic image file for
<fo:external-graphic> tag.
I try to generate the PDF file, but Java hung-up. GIF, Jpg, and Jpeg is
fine.
Can't a PNG file be used?

[version]
 FOP version is "0.20.1"
 JDK version is "1.3.0_02"

this is the fo file.
[a.fo]
--------------------------------------------------------------

 <fo:block>
  <fo:external-graphic src="file:../../graphics/test.png"/>
    </fo:block>
→HUNG-UP!

 <fo:block>
  <fo:external-graphic src="file:../../graphics/test.gif"/>
    </fo:block>
→GOOD!

 <fo:block>
  <fo:external-graphic src="file:../../graphics/test.jpg"/>
    </fo:block>
→GOOD!

 <fo:block>
  <fo:external-graphic src="file:../../graphics/test.jpeg"/>
    </fo:block>
→GOOD!

---------------------------------------------------------------

*command line is here.
---------------------------------------------------------------
java -cp build\fop.jar;lib\batik.jar;lib\xalan-2.0.0.jar;
lib\xerces-1.2.3.jar;lib\jimi-1.0.jar
org.apache.fop.apps.Fop a.fo b.pdf
---------------------------------------------------------------
I want to generate b.pdf from a.fo.


I am sorry to be awkward English.
thank you.
------------------------
 Yuko Nakayama

 Kawasaki-Shi,Kanagawa
 JAPAN
------------------------




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

Reply via email to