Code base obscuration (for images) 1.0
It implements different obscuration methods on portable images (.pgm and .ppm)
|
This file defines the image_portable class, which is a base class for different image formats. More...
#include <cmath>
#include <cstdlib>
#include <cstdio>
#include <cstring>
Go to the source code of this file.
Classes | |
class | image_portable |
Base class for portable image formats. This class provides an interface for reading and writing portable image formats, such as PGM and PPM. It defines pure virtual methods for reading the number of lines and columns of an image, reading an image into a buffer, and writing an image from a buffer. Derived classes must implement these methods to provide support for a specific image format. More... | |
Macros | |
#define | allocation_tableau(nom, type, nombre) |
Allocate a dynamic array of a given type and size. | |
Typedefs | |
typedef unsigned char | OCTET |
This file defines the image_portable class, which is a base class for different image formats.
It provides a protected method for ignoring comments in a file. Source file is image.h, ICAR_Library, by William Puech, Tue Mar 31 13:26:36 2005
#define allocation_tableau | ( | nom, | |
type, | |||
nombre ) |
Allocate a dynamic array of a given type and size.
nom | The name of the pointer to the array. |
type | The type of the elements in the array. |
nombre | The number of elements in the array. |
typedef unsigned char OCTET |