[JAVA2D] Dithering to black-and-white (monochrome) image

2001-11-29 Thread Samo Pitamic
Hi all! I have the following problem: I have a Buffered image, then I want to transcode it into as small as possible format for wireless transfer. The most suitable format is PNG and since the wireless devices usually only support monochrome images, I want to encode the image in this mode.

Re: [JAVA2D] Dithering to black-and-white (monochrome) image

2001-11-29 Thread Brian Burkhalter
Samo, While this does not directly reply to your question please note that 8-to-1 bit dithering is possible using Java Advanced Imaging. Sample code for dithering using the ErrorDiffusion and OrderedDither operations is provided at