diff --git a/src/bmp-format.c b/src/bmp-format.c index e0541b8..e0b8f05 100644 --- a/src/bmp-format.c +++ b/src/bmp-format.c @@ -57,9 +57,8 @@ int image_save_bmp(Image image, const char* path) { if ((unsigned long int) size > (unsigned long int) UINT_MAX) { printf("bitmap is too big!\n"); return 0; - } else { - printf("predicted size is %lu out of %u possible", size, UINT_MAX); } + FILE *fp = fopen(path, "w"); //unsigned char* bytes = calloc(sizeof(char), size); // magic bytes, signature "BM"