LLIPS  rev33
Light Library for Image ProcesS
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
Functions
llips_io.h File Reference

About importing and exporting image from/to storage. More...

Go to the source code of this file.

Functions

CPU_VOID init_img (t_img *img)
 Initialize and allocate memory for a potentional load_img() More...
 
CPU_CHAR load_img (CPU_CHAR *imgname, t_img *img)
 Load a bmp file into an organized memory area. More...
 
CPU_CHAR write_img (CPU_CHAR *imgname, t_img *img)
 Write an image buffer into a BMP file. More...
 
CPU_CHAR copy_img (t_img *imgsrc, t_img *imgdest)
 Copy source image into destination image. More...
 

Detailed Description

About importing and exporting image from/to storage.

Author
MPE

Definition in file llips_io.h.

Function Documentation

CPU_CHAR copy_img ( t_img imgsrc,
t_img imgdest 
)

Copy source image into destination image.

Parameters
imgsrct_img* - source image
imgdestt_img* - destination image
Returns
CPU_CHAR - status of operation

Definition at line 206 of file llips_io.c.

CPU_VOID init_img ( t_img img)

Initialize and allocate memory for a potentional load_img()

Parameters
imgt_img* - initialized image buffer
Returns
CPU_VOID

Definition at line 29 of file llips_io.c.

CPU_CHAR load_img ( CPU_CHAR imgname,
t_img img 
)

Load a bmp file into an organized memory area.

Parameters
imgnameCPU_CHAR* - Image name and path
imgt_img* - initialized image buffer
Returns
CPU_CHAR - status of operation

Definition at line 49 of file llips_io.c.

CPU_CHAR write_img ( CPU_CHAR imgname,
t_img img 
)

Write an image buffer into a BMP file.

Parameters
imgnameCPU_CHAR* - Image name and path
imgt_img* - image buffer
Returns
CPU_CHAR - status of operation

Definition at line 155 of file llips_io.c.