Hi Alvin,

Alvin Derek Henrick wrote:

I am using Batik Api For Creating TIFF Image From SVG by using TIFFTranscoder ,but the size of the image is always around 2.8 MB approx,I wan't to create only Black & White Image but I don't know which parameter's to set for generating black & white images only either in SVG or through Batik Api so that the size of the image created could be reduced .

For TIFF we only output 4 channel 8bit tiffs. For PNG output there is support for Indexed output. Which if you set it to two colors should produce a Black and White PNG (PNG also has compression built in). Now days most image applications will support PNG. If you really must have TIFF though there is no 'canned' answer, if you can write code or get someone who knows how interested it should be a relatively simple piece of work to 'port' the indexed PNG stuff to the TIFF transcoder (contributions are always welcome).


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



Reply via email to