I'm using fop from command line - can anyone tell me how to configure a tiff
renderer for fop. I've been looking at tiffrenderer class but haven't found
anything except calling from servlet (I'm using vb.net).

Thanks

Mike

-----Original Message-----
From: Mike Scott [mailto:[EMAIL PROTECTED] 
Sent: 21 May 2008 21:57
To: [email protected]
Subject: RE: TIFF generation using FOP .094

Andre,
        Thanks for info. I'm using from command line but I get error:

SEVERE: Exception
org.apache.fop.apps.FOPException: Renderer has not been set!

Is there somewhere I need to specify a renderer?

Thanks

Mike

-----Original Message-----
From: Andreas Delmelle [mailto:[EMAIL PROTECTED] 
Sent: 21 May 2008 21:24
To: [email protected]
Subject: Re: TIFF generation using FOP .094

On May 21, 2008, at 19:14, Jawaby wrote:

>
> Hi, Can you give me some guidance on how to go about configuring  
> FOP to
> generate TIFF files instead of PDF.

If you use the command-line, the following are possible:

fop -fo input.fo -tiff output.tiff
fop -fo input.fo -out image/tiff output.tiff

If you use FOP embedded, you need something like:
...
Fop fop = fopFactory.newFop(MimeConstants.MIME_TIFF, out);
...

Note that the output may differ between the two formats (PDF vs.  
TIFF), since they use different font-metrics.


HTH!

Cheers

Andreas

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

No virus found in this incoming message.
Checked by AVG. 
Version: 7.5.524 / Virus Database: 269.23.21/1457 - Release Date: 20/05/2008
16:45
 

No virus found in this outgoing message.
Checked by AVG. 
Version: 7.5.524 / Virus Database: 269.23.21/1457 - Release Date: 20/05/2008
16:45
 



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

No virus found in this incoming message.
Checked by AVG. 
Version: 7.5.524 / Virus Database: 269.23.21/1457 - Release Date: 20/05/2008
16:45
 

No virus found in this outgoing message.
Checked by AVG. 
Version: 7.5.524 / Virus Database: 269.24.0/1461 - Release Date: 22/05/2008
16:44
 



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

Reply via email to