Important to note is that this only works on FOP 0.92beta or later!

If you want to try from the command-line:
fop -fo myfile.fo -tiff myfile.tiff

On 19.09.2006 10:02:54 Richard S wrote:
> can any one give sample code for converting xml or xsl or pdf to tiff 
> file. I am new to this. experts can u help me in providing with sample codes
> 
> 
> Oliver Hernàndez Valls wrote:
> 
> > You can use this to instantiate the FOP object:
> >
> > Fop fop = fopFactory.newFop(MimeConstants.MIME_TIFF, userAgent, mtiff);
> >
> >
> > where userAgent is a FOUserAgent instance that you can use to 
> > configure your tiff and mtiff is the OutputStream where you want the 
> > image to be generated.
> >
> > For further configuration (different image compressions) currently 
> > there's a developement on the trunk version of FOP and 
> > xmlgraphics-commons. That I think will be available soon.
> >
> > Salut!
> >
> > En/na Richard S ha escrit:
> >
> >> I need to convert a XML or XSL file to tiff format. Is there any 
> >> direct or indirect ways to do that.

Jeremias Maerki


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

Reply via email to