X-Git-Url: https://hackdaworld.org/gitweb/?p=my-code%2Fapi.git;a=blobdiff_plain;f=bmp%2Fbmp.h;h=40e6df45f27390deda2ca0f30867d7bbea8083a4;hp=4dd47f5267cf826d8e7e905830b5b0c28260d45f;hb=0e23b0ff9632e31c6abc581b42b0efdff798af4c;hpb=a9e13e5140bdf89a0880a00e9f678d5564cbfa4a diff --git a/bmp/bmp.h b/bmp/bmp.h index 4dd47f5..40e6df4 100644 --- a/bmp/bmp.h +++ b/bmp/bmp.h @@ -24,6 +24,7 @@ #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 @@ -77,6 +78,7 @@ int bmp_shutdown(t_bmp *bmp); 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_bottom(t_bmp *dst,t_bmp *src,int dz); int bmp_read_file(t_bmp *bmp); #endif