diff options
author | jonas <himself@jonasgunz.de> | 2019-04-28 12:15:26 +0200 |
---|---|---|
committer | jonas <himself@jonasgunz.de> | 2019-04-28 12:15:26 +0200 |
commit | 1beb7e77df6a630894243f5a29475e17b2b84096 (patch) | |
tree | ba03f90658cb683dc76de9cccdfab0e32b773b90 /main.c | |
parent | ed99cc649822dde14de66a2bc7c203eb6376ae78 (diff) | |
download | AsciiMap-1beb7e77df6a630894243f5a29475e17b2b84096.tar.gz |
Cleanup
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 15 |
1 files changed, 0 insertions, 15 deletions
@@ -119,28 +119,15 @@ int main(int argc, char *argv[]) DEBUG_PRINTF("Brightness Values: Min: %u Max: %u\n", b_min, b_max); - //Write Output - /*DEBUG_PRINTF("Opening %s for writing.\n", argv[2]); - FILE *out = fopen(argv[2], "w"); - - if(!out) - { - printf("Error opening output File. Check writing permissions.\n"); - return 1; - }*/ for(int y = 0; y<size_y; y++) { for(int x = 0; x < size_x; x++) { printf("%c", calc_char(ascii_buff[x][y], b_min, b_max)); - //fputc( calc_char(ascii_buff[x][y], b_min, b_max) , out); } - DEBUG_PRINTF("."); - //fputc('\n', out); printf("\n"); } - DEBUG_PRINTF("\n"); DEBUG_PRINTF("Finished!\n"); @@ -159,8 +146,6 @@ int main(int argc, char *argv[]) free(bitmap.G); free(bitmap.B); - //fclose(out); - return 0; }//main |