RE: Image problems

2002-05-23 Thread Chakraborty, Shantanil
use the UNIX `pwd` path to the image file-  [say it returns /home/xsl]
also use this format 
 fo:external-graphic src='file:///home/xsl/Image.png'/   

hope this helps-


-Original Message-
From: Oleg Tkachenko [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 23, 2002 11:53 AM
To: [EMAIL PROTECTED]
Subject: Re: Image problems


Kevin Pearcey wrote:
 I'm having problems with some external-graphic images.
 
 I have a block:
 
   fo:external-graphic src=Image.png/
 
 And depending upon the image I get:
 
 [ERROR] Error while creating area : Error creating FopImage object (Error
 creating FopImage object (file:Image.png) : org.apache.fop.image.JimiImage
 
 Does anyone have any thoughts about why certain images won't work?

Did you get jimi library installed ? You need it to get png support and
that's 
not in fop distribution because of licence reasons.

-- 
Oleg Tkachenko
Multiconn International, Israel


LEGAL NOTICE
Unless expressly stated otherwise, this message is confidential and may be 
privileged. It is intended for the addressee(s) only. Access to this E-mail by 
anyone else is unauthorized. If you are not an addressee, any disclosure or 
copying of the contents of this E-mail or any action taken (or not taken) in 
reliance on it is unauthorized and may be unlawful. If you are not an 
addressee, please inform the sender immediately.


RE: Building a FO document with FOP

2002-04-30 Thread Chakraborty, Shantanil
Exactly, in fact i generate XML fo batch Report using perl, then pass them
through FOP utility generating pdf file and finally sending the rendered
file to printer [which are printer and mailed to vendors].
Page x of y is easier to do this way... faced with logo display.. initially
i tries installing ImageMagic but had a easier way using FOP.
-shantanil

-Original Message-
From: Katiyar, Bhawana [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 30, 2002 11:05 AM
To: [EMAIL PROTECTED]
Subject: RE: Building a FO document with FOP


I guess it is better to build them as XML documents and use xsl:fo to
transform them to FO documents. It is much easier. You could use the XML to
render HTML, RTF or any other format. FOP programming is also much easier,
as you shift all the java programming burden of building the FO document to
FOP. 
Bhawana

-Original Message-
From: Ismaeil, Sameh Z [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 30, 2002 10:37 AM
To: '[EMAIL PROTECTED]'
Subject: Building a FO document with FOP


Hello All,

We are trying to build FO documents through Java code, these documents will
be rendered with FOP. I would like to know whether it is recommended to
build them using the FOP classes that represent FO elements (FONode/FObj and
its decendants), or whether it is better to build them as XML docuemnts and
use FOP for rendering only.

Thanks in advance


LEGAL NOTICE
Unless expressly stated otherwise, this message is confidential and may be 
privileged. It is intended for the addressee(s) only. Access to this E-mail by 
anyone else is unauthorized. If you are not an addressee, any disclosure or 
copying of the contents of this E-mail or any action taken (or not taken) in 
reliance on it is unauthorized and may be unlawful. If you are not an 
addressee, please inform the sender immediately.