我在boost/GIL中没有看到BMP,也许可以看一下Magick++ ImageMagick API http://www.imagemagick.org/Magick++/tutorial/Magick++_tutorial.pdf 此外,GDK-Pixbuf肯定可以做到这一点。