File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Spring in Action this week in the Spring 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:

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: BufferedImage 1-bit-per-pixel