diff options
Diffstat (limited to 'convimg.c')
-rw-r--r-- | convimg.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -2,6 +2,8 @@ #include <stdlib.h> #include <string.h> +#include "convcom.c" + typedef struct { unsigned char r, g, b, a; } Colour; @@ -89,6 +91,7 @@ int main(int argc, char** argv) { fwrite(&bmp_w, 1, 2, outfile); fwrite(&bmp_h, 1, 2, outfile); fwrite(bitmap, 1, bs, outfile); + pad_file(4 + bs, outfile); free(buffer); end: |