This is a RLE compression routine written in MFC. I wrote this because I could not find handy code for such thing.

RLE compression is useful when saving SIMPLE Windows bitmap. Especially my implementation is rather stupid and not optimized. Therefore, if the source bitmap is complex (like the one in the demo app window shown above), you could even get a bigger bitmap file after compression. you can free download RLE8Bitmap now.