You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Jawaby <mi...@directfacilities.com> on 2008/05/21 19:14:22 UTC
TIFF generation using FOP .094
Hi, Can you give me some guidance on how to go about configuring FOP to
generate TIFF files instead of PDF.
Thanks
Mike
--
View this message in context: http://www.nabble.com/TIFF-generation-using-FOP-.094-tp17364372p17364372.html
Sent from the FOP - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: TIFF generation using FOP .094
Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
Both
fop -fo helloworld.fo -tiff out.tif
and
fop -fo helloworld.fo -out image/tiff out.tif
work fine for me with FOP 0.94. What Java VM are you using? What was the
command-line you tried?
On 23.05.2008 16:16:47 Mike Scott wrote:
> 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:mike@directfacilities.com]
> Sent: 21 May 2008 21:57
> To: fop-users@xmlgraphics.apache.org
> 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:andreas.delmelle@telenet.be]
> Sent: 21 May 2008 21:24
> To: fop-users@xmlgraphics.apache.org
> 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: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>
> 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: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>
> 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: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Jeremias Maerki
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
RE: TIFF generation using FOP .094
Posted by Mike Scott <mi...@directfacilities.com>.
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:mike@directfacilities.com]
Sent: 21 May 2008 21:57
To: fop-users@xmlgraphics.apache.org
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:andreas.delmelle@telenet.be]
Sent: 21 May 2008 21:24
To: fop-users@xmlgraphics.apache.org
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: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
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: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
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: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
RE: TIFF generation using FOP .094
Posted by Mike Scott <mi...@directfacilities.com>.
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:andreas.delmelle@telenet.be]
Sent: 21 May 2008 21:24
To: fop-users@xmlgraphics.apache.org
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: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
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: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: TIFF generation using FOP .094
Posted by Andreas Delmelle <an...@telenet.be>.
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: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org