## Latest stable version: 3.5.1 Current pre-release: 3.5.2 (2025/01/28)

- Home
- Download
- Screenshots
- Tutorial
- Documentation
- Report Issue
- Links
- Book

Reference

Namespaces | Classes
cimg_library Namespace Reference

Contains all classes and functions of the CImg library. More...

## Namespaces

namespace | cimg
| Contains low-level functions and variables of the CImg Library.

## Classes

struct | CImg
| Class representing an image (up to 4 dimensions wide), each pixel being of type `T`. More...
struct | CImgList
| Represent a list of images CImg<T>. More...
struct | CImgException
| Instances of `CImgException` are thrown when errors are encountered in a CImg function call. More...
struct | CImgDisplay
| Allow the creation of windows, display images on them and manage user events (keyboard, mouse and windows events). More...

## Detailed Description

Contains all classes and functions of the CImg library.

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

#include "CImg.h"
using namespace cimg_library;
cimg_library
Contains all classes and functions of the CImg library.
Definition CImg.h:2324

to simplify the declaration of CImg Library objects afterwards.

Copyrights (C) From october 2004, David Tschumperlé - GREYC UMR CNRS 6072, Image team.
Copyrights (C) January->September 2004, David Tschumperlé.
Copyrights (C) 2000->2003, David Tschumperlé - INRIA Sophia-Antipolis. Odyssée group.