Imagemagick has a C++ api that you can use to access its image processing functionality. ImageMagick has a ton of functionality, I would look into it for all your image processing needs.
Matt
2010-01-14 18:04:44