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 Jvanhalderen <j....@isprojects.nl> on 2007/07/17 11:58:03 UTC
Help request using FOB to create TIFF CCITT T4 images
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
--
View this message in context: http://www.nabble.com/Help-request-using-FOB-to-create-TIFF-CCITT-T4-images-tf4095894.html#a11646361
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: Help request using FOB to create TIFF CCITT T4 images
Posted by Jvanhalderen <j....@isprojects.nl>.
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: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: Help request using FOB to create TIFF CCITT T4 images
Posted by Vincent HENNEUSE <vi...@c-s.fr>.
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#a11664292
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