The CImg Library is a C++ Template Image Processing Library.
It is portable (Unix/X11, Windows, MacOS X), efficient, and simple to use.
Product's homepage
Here are some key features of "The CImg Library":
· The CImg Library is an open source C++ toolkit for image processing. It provides simple classes and functions to load, save, process and display images in your own C++ code.
· It is highly portable and fully works on Unix/X11, Windows, MacOS X and FreeBSD operating systems. It should compile on other systems as well (eventually without display capabilities).
· It consists only of a single header file CImg.h that must be included in your C++ program source.
· It contains useful image processing algorithms for image loading/saving, displaying, resizing/rotating, filtering, object drawing (text, lines, faces, curves, ellipses,..), etc...
· Images are instancied by a class able to represent images up to 4-dimension wide (x,y,z,v) (from 1-D scalar signals to 3-D volumes of vector-valued pixels), with template pixel types.
· It depends on a minimal number of libraries : you can compile it only with standard C libraries. No need for exotic libraries and complex dependencies.
· Additional features appear with the use of ImageMagick, libpng or libjpeg: install the ImageMagick package or link your code with libpng and libjpeg to be able to load and save compressed image formats (GIF,BMP,TIF,JPG,PNG,...). Available for any platforms.