xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

[ Main ] [ News] [ Download ] [ Screenshots ] [ FAQ ] [ Tutorial ] [ Documentation ] [ Forum ] [ Chat ] [ Links ]

# cimg_library Namespace Reference

This namespace encompasses all classes and functions of the CImg library. More...

## Namespaces
namespace | cimg
| Namespace that encompasses low-level functions and variables of the CImg Library.

## Classes
struct | CImgException
| Instances of this class are thrown when errors occur during a CImg library function call. More...
struct | CImgDisplay
| This class represents a window which can display CImg images and handles mouse and keyboard events. More...
struct | CImg
| Class representing an image (up to 4 dimensions wide), each pixel being of type `T`. More...
struct | CImgList
| Class representing list of images CImg<T>. More...

## Detailed Description

This namespace encompasses all classes and functions of the CImg library.

This namespace is defined to avoid functions and class names collisions that could happen with the include of other C++ header files. Anyway, it should not happen often and you should reasonnably start most of your CImg-based programs with

       #include "CImg.h"
       using namespace cimg_library;

to simplify the declaration of CImg Library variables afterwards.