forked from tTh/FloatImg
more debug in verbose mode
This commit is contained in:
parent
7ff4453fb1
commit
f7ff7e385a
|
@ -111,7 +111,8 @@ if (type < 0) {
|
|||
fname = argv[optind];
|
||||
width = atoi(argv[optind+1]); height = atoi(argv[optind+2]);
|
||||
|
||||
if (verbosity) fprintf(stderr, "making '%s' %d x %d\n", fname, width, height);
|
||||
if (verbosity) fprintf(stderr, "making '%s' %d x %d, type %d\n",
|
||||
fname, width, height, type);
|
||||
|
||||
srand48(getpid() ^ time(NULL));
|
||||
|
||||
|
@ -130,6 +131,7 @@ switch(type) {
|
|||
case T_HDEG_A: fimg_hdeg_a(&fimg, 1.0); break;
|
||||
case T_VDEG_A: fimg_vdeg_a(&fimg, 1.0); break;
|
||||
case T_TPAT0: fimg_test_pattern(&fimg, 0, fvalue); break;
|
||||
case -1: exit(1);
|
||||
}
|
||||
|
||||
foo = fimg_dump_to_file(&fimg, fname, 0);
|
||||
|
|
Loading…
Reference in New Issue