Path: csiph.com!x330-a1.tempe.blueboxinc.net!feeder1.hal-mli.net!news.alt.net!news-in-01.newsfeed.easynews.com!easynews.com!easynews!news-out.news.tds.net!newsreading01.news.tds.net!86597e80!not-for-mail From: "hiwa" Subject: Re: How to do image-type Message-ID: <1163811659.971908.34110@j44g2000cwa.googlegroups.com> X-Comment-To: comp.lang.java.gui Newsgroups: comp.lang.java.gui In-Reply-To: <1163755756.272634.317060@m7g2000cwm.googlegroups.com> It is because the renderer does no dithering. Sorry, it was my coding error. Correct code is: ---------------------------------------------------------------------- byte b = (byte)255; icm = new IndexColorModel (1, 2, new byte[]{b, 0}, new byte[]{b, 0}, new byte[] {b, b});//Blue on White bw = new BufferedImage(scrw, scrh, TYPE_BYTE_BINARY, icm); ---------------------------------------------------------------------- And, yes, it doesn't do dithering. Ugly image! --- * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet! --- Synchronet 3.15a-Win32 NewsLink 1.92 Time Warp of the Future BBS - telnet://time.synchro.net:24