Hi, I am currently trying to create a 1-bit depth graphics in memory. I do not need color capabilities, just black-and-white. I am using a buffer made up of integers but it is a waste of memory when I can use 1-bit for a pixel instead of 32-bits. What is the best way to do that? I need to switch to the more efficient way since Java complains OutOfMemory exception on large images.... Eric Chao [EMAIL PROTECTED] Merlin Software Technologies Inc. ---------------------------------------------------------------------- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]