Website : http://cimg.sourceforge.net/index.shtml
The CImg Library is an open source C++ toolkit for image processing designed with these properties in mind :
![]() |
CImg defines simple classes and methods aimed at manipulating generic images in your own C++ code : Load/save various file formats, access pixel values, display, resize/rotate/mirror/filter, draw primitives (text, faces, curves, 3D objects, …), compute statistics, manage user interactions, and so on… |
![]() |
Provided image classes can represent datasets up to 4-dimension wide (from 1D scalar signals to 3D hyperspectral volumes), with template pixel types. Image collections and sequences are also supported. |
![]() |
CImg is self-contained and thus highly portable. It fully works on different operating systems (Unix, Windows, MacOS X, *BSD) with various C++ compilers (Visual C++, GNU g++, Intel icc, Borland bcc, …). |
![]() |
CImg is lightweight. It is made of a single header file CImg.h that must be included in your C++ source. It defines only four different classes. It can be compiled using a minimal set of standard C++ and system libraries. No need for exotic or complex dependencies. |
![]() |
Although not required, CImg can use functionalities of external tools/libraries such as ImageMagick, GraphicsMagick, XMedCon, FFMPEG, libpng, libjpeg, libtiff, Magick++, Lapack, Board or FFTW3. Moreover, a simple plug-in mechanism allows any user to directly enhance the library capabilities according to his needs. |
![]() |
CImg is a free, open-source library distributed under the CeCILL-C (close to the GNU LGPL) or CeCILL (compatible with the GNU GPL) licenses. It can be used in commercial applications. |
CImg stands for “Cool Image” : It is easy to use and efficient. It’s a very pleasant toolbox to code image processing stuffs in C++, and potentially covers a wide range of image processing applications. In the distributed package, a lot of examples are provided to help the developper in its first steps.
Authors :
§ Leave a Reply






