diff --git a/pc-dos/convert.c b/pc-dos/convert.c new file mode 100644 index 00000000..c995ea31 --- /dev/null +++ b/pc-dos/convert.c @@ -0,0 +1,30 @@ +#include + +#define PIXELS 320*200 + +int main(void) { + FILE *fin; + FILE *fout; + int i; + + fin = fopen("1.bmp", "r"); + fseek(fin, 1162, SEEK_SET); + + fout = fopen("image.bin", "w"); + + for (i=0; i