title: C++: What's the simplest way to read and write BMP files using C++ on Windows?
body: <p>I would like to load a BMP file, do some operations on it in memory, and output a new BMP file using C++ on Windows (Win32 native). I am aware of <a href="http://www.imagemagick.org/" rel="nofollow noreferrer">ImageMagick</a> and it's C++ binding <a href="http://www.imagemagick.org/Magick%2B%2B/" rel="nofollow noreferrer">Magick++</a>, but I think it's an overkill for this project since I am currently not interested in other file formats or platforms.</p>
  
  <p>What would be the simplest way in terms of code setup to read and write BMP files? The answer may be "just use Magick++, it's the simplest."</p>
  
  <p>Related Question: <a href="https://stackoverflow.com/questions/158756/what-is-the-best-image-manipulation-library">What is the best image manipulation library?</a></p>