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]

Reply via email to