This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes BufferedImage 1-bit-per-pixel Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "BufferedImage 1-bit-per-pixel" Watch "BufferedImage 1-bit-per-pixel" New topic
Author

BufferedImage 1-bit-per-pixel

Orna Vel
Greenhorn

Joined: Jun 02, 2003
Posts: 12
I am trying to create the application with "compact" BufferedImage which uses just 1 bit per pixel. But it does not work properly - it looks like it still uses a byte per pixel. Any thoughts?


[ March 31, 2005: Message edited by: Orna Vel ]
Orna Vel
Greenhorn

Joined: Jun 02, 2003
Posts: 12
I think this code works properly:

 
wood burning stoves
 
subject: BufferedImage 1-bit-per-pixel
 
Similar Threads
changing gray pixels....
bufferd Image!
Is there a better way to blend colors when painting with Graphics2D?
Creating an image from a byte array and a color palette
BufferedImage 1-bit-per-pixel