When using the PNG file, Java hung-up.

2002-02-03 Thread Yuko Nakayama
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
$B"*(BHUNG-UP!

 fo:block
  fo:external-graphic src="file:../../graphics/test.gif"/
/fo:block
$B"*(BGOOD!

 fo:block
  fo:external-graphic src="file:../../graphics/test.jpg"/
/fo:block
$B"*(BGOOD!

 fo:block
  fo:external-graphic src="file:../../graphics/test.jpeg"/
/fo:block
$B"*(BGOOD!

---

*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]


Re: When using the PNG file, Java hung-up.

2002-02-03 Thread fred redf

Hi,
That syntax should work better.
Fred.
 
  fo:block
   fo:external-graphic
 src=../../graphics/test.jpg/
 /fo:block


___
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.fr

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