Image File Associates an image with a file and a file format. More...
#include <im.h>
#include <im_image.h>
#include <im_util.h>
Go to the source code of this file.
Data Structures | |
struct | imlabImageFile |
Functions | |
imlabImageFile ** | imlabImageFileOpen (const char *filename, int index) |
imlabImageFile * | imlabImageFileNew (int width, int height, int color_mode, int data_type) |
imlabImageFile * | imlabImageFileCreate (imImage *image) |
int | imlabImageFileSave (imlabImageFile **file_list, int image_count) |
void | imlabImageFileDestroy (imlabImageFile *file, int kill_image) |
int | imlabRawLoadImage (const char *filename, imImage *image, int top_down, int switch_type, int byte_order, int is_packed, int padding, int start_offset, int ascii) |
int | imlabRawSaveImage (const char *filename, imImage *image, int top_down, int switch_type, int byte_order, int is_packed, int padding, int start_offset, int ascii) |
imlabImageFile** imlabImageFileOpen | ( | const char * | filename, | |
int | index | |||
) |
Creates an image file from a file.
imlabImageFile* imlabImageFileNew | ( | int | width, | |
int | height, | |||
int | color_mode, | |||
int | data_type | |||
) |
Creates a new image file.
imlabImageFile* imlabImageFileCreate | ( | imImage * | image | ) |
Creates an image file from an image.
int imlabImageFileSave | ( | imlabImageFile ** | file_list, | |
int | image_count | |||
) |
Saves the image file
void imlabImageFileDestroy | ( | imlabImageFile * | file, | |
int | kill_image | |||
) |
Destroys an image file.
int imlabRawLoadImage | ( | const char * | filename, | |
imImage * | image, | |||
int | top_down, | |||
int | switch_type, | |||
int | byte_order, | |||
int | is_packed, | |||
int | padding, | |||
int | start_offset, | |||
int | ascii | |||
) |
Loads a RAW image.
int imlabRawSaveImage | ( | const char * | filename, | |
imImage * | image, | |||
int | top_down, | |||
int | switch_type, | |||
int | byte_order, | |||
int | is_packed, | |||
int | padding, | |||
int | start_offset, | |||
int | ascii | |||
) |
Saves a RAW image.