Very helpfull, worked perfectly, thank you.

Vincent HENNEUSE wrote:
> 
> 
> 
> Jvanhalderen wrote:
>> 
>> Hello,
>> 
>> I'm currently using FOB to create TIFF images from xml/xslt files. These
>> files however are soo big that they need a compression. I've read that
>> FOB 0.93 supports the CCITT T4 format for TIFF, however i am unable to
>> get it to work in any way.
>> 
>> Could somebody give me a simple code example that uses that compression?
>> 
>> With kind regards,
>> 
>> Jean-Louis van Halderen
>> 
> 
> The launch command :
> %FOP_HOME%/fop.bat -c "%FOP_HOME%\conf\fop.xconf" -xml "file.xml" -xsl
> "file.xsl" -tiff "output.tif" 2>log.txt
> 
> You need to update your config file (%FOP_HOME%\conf\fop.xconf) like that
> :
>     <renderer mime="image/tiff">
>       <!--transparent-page-background>true</transparent-page-background-->
>       <compression>CCITT T.4</compression>
>     </renderer>
> 
> This works only if you have installed last 
> http://java.sun.com/products/java-media/jai/current.html Java Advanced
> Imaging Image I/O Tools   in your classpath.
> 
> That's all :)
> 

-- 
View this message in context: 
http://www.nabble.com/Help-request-using-FOB-to-create-TIFF-CCITT-T4-images-tf4095894.html#a11685911
Sent from the FOP - Users mailing list archive at Nabble.com.


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

Reply via email to