I want to use a SVG file to produce a PNG file with 1 bit per pixel, i.e. black and white bilevel monochrome - pixels are either on or off. NO in between shading or greyscales. Only 2 values: black or white.
I create a transcoder PNGTranscoder t = new PNGTranscoder(); and then I use the following for 1 bit per-pixel t.addTranscodingHint( PNGTranscoder.KEY_INDEXED, new Integer(1)) which outputs a blank black image. If I omit this line above then I get a greyscaled image with 32 bits/pixel Please advise -- View this message in context: http://www.nabble.com/bilevel-1-bit-per-pixel-PNG-using-addTranscodingHint%28-PNGTranscoder.KEY_INDEXED%2C-new-Integer%281%29%29-doesn%27t-work-tp17211171p17211171.html Sent from the Batik - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
