#define B_E_MEM -7
#define B_E_READ_DATA -8
#define B_E_WRITE_DATA -9
+#define B_E_GEOMETRY -10
#define MAX_CHARS_FILE 32
#define BMP_H_SIZE 14
#define BMP_I_SIZE 40
+#define GRAB 'g'
/* bmp specific variables */
typedef struct s_bmp_hdr {
int bmp_check_header_and_info(t_bmp *bmp);
int bmp_alloc_map(t_bmp *bmp);
int bmp_write_file(t_bmp *bmp);
+int bmp_cut_grab_bottom(t_bmp *dst,t_bmp *src,int dz,unsigned char m);
int bmp_read_file(t_bmp *bmp);
#endif