[android-developers] Re: Best bitmap compression for 2 color Bitmaps

2012-12-30 Thread Nobu Games
You can store your bitmap as a palette-based PNG with 2 colors. As far as I know the PNG format allows lossless run-length encoding compression. If you really want to implement your own data format then the simplest approach would be a file header with image width and height, 6 bytes for the

[android-developers] Re: Best bitmap compression for 2 color Bitmaps

2012-12-30 Thread AndroidCompile
How can I save the bitmap programatically in a 2 color palette png? Is that possible? On Sunday, December 30, 2012 5:26:42 PM UTC+2, Nobu Games wrote: You can store your bitmap as a palette-based PNG with 2 colors. As far as I know the PNG format allows lossless run-length encoding