[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fop-user
Subject:    Re: Help needed in converting XML to Tiff
From:       Jeremias Maerki <dev () jeremias-maerki ! ch>
Date:       2006-09-19 20:03:30
Message-ID: 20060919220217.C4D8.DEV () jeremias-maerki ! ch
[Download RAW message or body]

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: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic