M2_SETI/A4/TP_A4/Modele_exo4/image_io.h

12 lines
513 B
C
Raw Permalink Normal View History

2023-02-04 17:21:47 +01:00
#ifndef IMAGE_IO_H
#define IMAGE_IO_H
void read_image(char *name, double **image, int *im_width, int *im_height);
void read_imagef(char *name, float **image, int *im_width, int *im_height);
void read_imagec(char *name, unsigned char **image, int *im_width, int *im_height);
void write_image(char *name, double *image, int im_width, int im_height);
void write_imagef(char *name, float *image, int im_width, int im_height);
void write_imagec(char *name, unsigned char *image, int im_width, int im_height);
#endif