This article was submitted .

A couple of DIB (Device Independant Bitmap) related classes.

Nothing in here that you cannot find in other DIB classes for MFC and other libraries. I've added a few image filters (such as grayscale and blur) to demonstrate how such filters may be used.

I took out the support for everything but 24 bit bitmaps, because the code simply got cluttered with palette hacks. I'll create a separate class for 8 bit indexed/palettized later.

Source Code Dependencies

Microsoft WTL 3.0 Library

Download Files

DownloadSource Code (7 Kb)