> 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. Click on the source filename to display 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_demo.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 video
| Description : The selection menu of the CImg_demo sample (length = 41 lines of code) File : CImg_demo.cpp Containing a nice blurred cursor effect, it shows also how to use mouse motion to create user-friendly menus. Click here to see the video
| 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: fade_images.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_demo.cpp Show how to use the predefined feature selection function present in the CImg library. Click here to see the video
| 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_demo.cpp This is not a replacement to Photoshop, but it already includes a filling algorithm as well as a color selection tool. Click here to see the video
| Description : A classical demomaking-effect, called 'rotozoom'. (length = 20 lines of code). File : CImg_demo.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_demo.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. File: CImg_demo.cpp No use of OpenGL or VTK in this example, only pure CImg software functions are used ! Click here to see the video
| Description : An example of the ellipse drawing function, used to bounce an elastic bubble (length = 25 lines of code). File: CImg_demo.cpp Click here to see the video
| Description : An real-time 3D virtual landscape explorer (length = 40 lines of code). File: CImg_demo.cpp The altitude map is based on a 'fractal plasma' generator. Click here to see the video
| Description : A nice plasma effect with a sinus scroller (length = 70 lines of code). File: CImg_demo.cpp Click here to see the video
| 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. Click here to see the video
| 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_demo.cpp Click here to see the video
| Description : A nice Blob Editor in only few lines (length = 90 lines of code). File: CImg_demo.cpp Click here to see the video
| Description : 3D Metaballs animation, using 3D capabilities of CImg (length = 23 lines of code). File: CImg_demo.cpp Click here to see the video
| Description : A tool to visualize images as surfaces in 3D (length = 100 lines of code). File: image_surface.cpp Click here to see the video
| Description : A 3D viewer for Diffusion tensor imaging datasets (length = 526 lines of code). File: dtmri_view.cpp Click here to see the video
| Description : Applying the wave equation on an 3D image-mapped surface. (length = 55 lines of code). File: CImg_demo.cpp Click here to see the video