imImageFile Class Reference
[Image Storage]
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.
|
Public Member Functions |
| imImageFile (const char *file_name, const char *format) |
| imImageFile (const char *file_name) |
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) |
The documentation for this class was generated from the following file: