Data Structures | Functions

imagefile.h File Reference

Image File Associates an image with a file and a file format. More...

#include <im.h>
#include <im_image.h>
#include <im_util.h>
Include dependency graph for imagefile.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  imlabImageFile

Functions

imlabImageFile ** imlabImageFileOpen (const char *filename, int index)
imlabImageFileimlabImageFileNew (int width, int height, int color_mode, int data_type)
imlabImageFileimlabImageFileCreate (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)

Detailed Description


Function Documentation

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.