operations d'entree/sortie sur les formats standards, jpg, bmp, png, tiff, etc. More...
#include <ImageIO.h>
Public Member Functions | |
Image * | insert (Image *object, const std::string &filename, const std::string &name="") |
reference un nouvel 'objet' par son nom et le nom du fichier d'import. | |
Image * | find (const std::string &filename, const std::string &name="") |
recherche un 'objet' deja importe. | |
const IOName * | find (Image *object) |
recherche le nom et le nom du fichier d'un 'objet' deja importe. | |
Static Public Member Functions | |
static bool | isColorFile (const std::string &filename) |
static Image * | read (const std::string &filename, const std::string &name="") |
charge le fichier 'filename' et renvoie l'image correspondante. | |
static int | write (const Image *image, const std::string &filename) |
ecrit une image dans un fichier .bmp nomme 'filename'. | |
static ImageIO & | manager () |
Protected Types | |
typedef std::map< IOName, Image * > | names_map_type |
typedef std::map< Image *, IOName > | objects_map_type |
Protected Attributes | |
names_map_type | m_names_map |
objects_map_type | m_objects_map |
operations d'entree/sortie sur les formats standards, jpg, bmp, png, tiff, etc.