I would like a C or C++ code source to convert bmp 24 bits into bmp 8 bits.
Hi, I need to convert a 24 bit RGB bitmap to an 8 bit grayscale
bitmap. I have used code I found in the msdn website, but it does not
work properly. I heard that all you need to do is add the R+G+B
values and divide by 3, but i do not know how to go about doing this
for an entire bitmap. Can anyone provide some help (code would be
great.) Any help is welcome though. Thanks in adavance.