> The screenshots presented below have been taken from the different example programs distributed within the CImg package (sources available in the directory `examples/`).
> Click on an image to enlarge it. Note that it is only a small panel of the demo programs available in the CImg Library package.

| Description : A 2D bump-mapping effect (30 lines of code). File: CImg_test.cpp You can move the light source using the mouse. This sample shows how to handle mouse motion and create an animation in a window. It demonstrates also that the CImg library is quite fast ! Everything is computed from scratch here, including the logo, the background and the light. <Click here to see the corresponding animation (MPEGformat)>
| Description : The selection menu of the CImg_test sample (length = 41 lines of code) File : CImg_test.cpp Containing a nice blurred cursor effect, it shows also how to use mouse motion to create user-friendly menus.
| Description : Computation of the Hough Transform. (length = 95 lines of code) File : hough_transform.cpp Illustrate the computation of the Hough transform to detect lines in 2D images. Provide also simple user interface to select and display lines.
| Description : Show how to do a fading between two images. (length = 35 lines of code). File: imgfade.cpp Very small code to perform a funny effect. Also demonstrate how to easily deal with command line arguments.
| Description : A fully functional Mandelbrot fractal explorer. (length = 51 lines of code). File: CImg_test.cpp Show how to use the predefined feature selection function present in the CImg library.
| Description : A simple shoot-em-up game, featuring the people of the Robotvis/Odyssee Lab. (length = 180 lines of code). File: odykill.cpp Another demonstration of handling mouse and creating animation for pedagogic purposes.
| Description : An implementation of an image registration algorithm, with multiscale capability. (length = 201 lines of code). File: image_registration.cpp Compute a motion map between two images, and warp one into the another through a smooth animation.
| Description : A mini-painting program. (length = 30 lines of code). File: CImg_test.cpp This is not a replacement to Photoshop, but it already includes a filling algorithm as well as a color selection tool.
| Description : A classical demomaking-effect, called 'rotozoom'. (length = 20 lines of code). File : CImg_test.cpp Smell the old school parfume of the atari/amiga demos.
| Description : An animation featuring triangles that are rotating. (length = 50 lines of code). File: CImg_test.cpp Could be a replacement to your classical screen saver.
| Description : A tool to select sub-images/volumes in bigger images/volumes. (length = 70 lines of code). File: inrcast.cpp Show that the CImg library is perfectly working with 3D vector-valued volumes.
| Description : An example of real-time 3D rendering (length=180 lines of code). File: render3d.cpp No use of OpenGL or VTK in this example, only pure CImg software functions are used ! <Click here to see another 3D animation rendered by this program (MPG)>
| Description : An example of the ellipse drawing function, used to bounce an elastic bubble (length = 25 lines of code). File: CImg_test.cpp
| Description : An real-time 3D virtual landscape explorer (length = 40 lines of code). File: CImg_test.cpp The altitude map is based on a 'fractal plasma' generator.
| Description : A nice plasma effect with a sinus scroller (length = 70 lines of code). File: CImg_test.cpp
| Description : An implementation of the well known Tetris game (length = 130 lines of code). File: tetris.cpp Very small code for a complete version of the Tetris game.
| Description : The implementation of the Tschumperlé-Deriche algorithm for image restoration and Inpainting. (length = 170 lines of code). File: pde_TschumperleDeriche2D.cpp See the corresponding publication for more detail on the algorithm.
| Description : An very smart and classical demo effect called 'Shade bobs' (length = 60 lines of code). File: CImg_test.cpp