cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
how to change the bit depth of a bmp in
how to change the bit depth of a bmp in c++
Jul 9, 2012 at 7:38am UTC
lanse202008
(1)
I want to chang a bmp with the bit depth of 16-bit into 8bit in c++, but I don`t know how to do.
thanks
Jul 9, 2012 at 9:59am UTC
Peter87
(11234)
You could use some kind of library, or get to know the BMP format, read the bmp data, make the changes needed and write it back to file in the correct format.
http://en.wikipedia.org/wiki/BMP_file_format
Last edited on
Jul 9, 2012 at 9:59am UTC
Topic archived. No new replies allowed.