imImageFile Class Reference
[Image Storage]

C++ Wrapper for the Image File Structure. More...

Collaboration diagram for imImageFile:
Collaboration graph
[legend]

Public Member Functions

 imImageFile (const char *file_name)
 imImageFile (const char *file_name, const char *format)
int Failed ()
int Error ()
void SetAttribute (const char *attrib, int data_type, int count, const void *data)
const void * GetAttribute (const char *attrib, int *data_type, int *count)
void GetInfo (char *format, char *compression, int *image_count)
void ReadImageInfo (int index, int *width, int *height, int *color_mode, int *data_type)
void GetPalette (long *palette, int *palette_count)
void ReadImageData (void *data, int convert2bitmap, int color_mode_flags)
void SetInfo (const char *compression)
void SetPalette (long *palette, int palette_count)
void WriteImageInfo (int width, int height, int color_mode, int data_type)
void WriteImageData (void *data)

Detailed Description

Usage is just like the C API. Open and New are replaced by equivalent constructors.
Close is replaced by the destructor. Error checking is done by the Error() member.
Open and New errors are cheked using the Failed() member.

The documentation for this class was generated from the following file:

Generated on Thu Oct 1 11:40:08 2009 for IM by  doxygen 1.6.1