>>>>> "HH" == Huang Haitao-G17843 <[EMAIL PROTECTED]> writes:
HH> I didn' find class IndexImage,
I think you need to use current CVS.
It is sources/org/apache/batik/ext/awt/image/rendered/IndexImage.java
HH> If I use indexed PNG, is 8 the lowest depth I can get?
No but the IndexImage in CVS only ever generates a 256 color
pallete if you modify it to create a 16 color pallete I think the PNG
encoder will write a 4bit pallete PNG.
HH> Do I need use PNGEncodeParam.Gray or PNGEncodeParam.Palette?
HH> Which part of the code should I plug in the IndexImage you talked
HH> about? Would it matter if the SVG specifies color in RGB?
If the SVG has too many colors it will look poor in such low bit
depths but if it is simple it should come through pretty well.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]