PandA-2024.02
mypgm.h
Go to the documentation of this file.
1 /* pgm file IO headerfile ------ mypgm.h */
2 
3 #ifndef MYPGM_H
4 #define MYPGM_H
5 
6 /* Constant declaration */
7 #define MAX_IMAGESIZE 256
8 #define MAX_BRIGHTNESS 255 /* Maximum gray level */
9 #define GRAYLEVEL 256 /* No. of gray levels */
10 #define MAX_FILENAME 256 /* Filename length limit */
11 #define MAX_BUFFERSIZE 256
12 
13 /* Global constant declaration */
14 /* Image storage arrays */
15 /* Prototype declaration of functions */
16 void load_image_data(const char* file_name, unsigned char *image1, unsigned int * x_size1, unsigned int * y_size1 );
17 void save_image_data(const char* file_name, unsigned char * image2, unsigned int x_size2, unsigned int y_size2);
18 #endif /* MYPGM_H */
void load_image_data(const char *file_name, unsigned char *image1, unsigned int *x_size1, unsigned int *y_size1)
Definition: mypgm.c:9
void save_image_data(const char *file_name, unsigned char *image2, unsigned int x_size2, unsigned int y_size2)
Definition: mypgm.c:76

Generated on Mon Feb 12 2024 13:02:49 for PandA-2024.02 by doxygen 1.8.13