This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman 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 Building Microservices this week in the Design 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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: BufferedImage 1-bit-per-pixel
 
It's not a secret anymore!