Read Access
[Image Storage]
Detailed Description
- See im.h
Functions | |
imFile * | imFileOpen (const char *file_name, int *error) |
void | imFileGetInfo (imFile *ifile, char *format, char *compression, int *image_count) |
void | imFileGetPalette (imFile *ifile, long *palette, int *palette_count) |
int | imFileReadImageInfo (imFile *ifile, int index, int *width, int *height, int *file_color_mode, int *file_data_type) |
int | imFileReadImageData (imFile *ifile, void *data, int convert2bitmap, int color_mode_flags) |
Function Documentation
|
Opens the file for reading. It must exists. Also reads file header. |
|
Returns file information. image_count is the number of images in a stack or the number of frames in a video/animation or the depth of a volume data. |
|
Returns the pallete if any. |
|
Reads the image header if any and returns image information. |
|
Reads the image data with or without conversion. |