You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by Yuko Nakayama <na...@k9.dion.ne.jp> on 2002/02/03 14:16:06 UTC

When using the PNG file, Java hung-up.

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: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org


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

Posted by fred redf <po...@yahoo.fr>.
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: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org