forked from tTh/FloatImg
minor change
This commit is contained in:
parent
38eae482ba
commit
282fe9f143
|
@ -64,7 +64,7 @@ if( ! fimg_type_is_valid(head->type) ) {
|
|||
return -1;
|
||||
}
|
||||
|
||||
printf(" type %d\n", head->type);
|
||||
printf(" type %d %s\n", head->type, fimg_str_type(head->type));
|
||||
printf(" dims %d x %d\n",
|
||||
head->width, head->height);
|
||||
printf(" fval/count %f %d\n", head->fval, head->count);
|
||||
|
|
2
lib/t.c
2
lib/t.c
|
@ -19,10 +19,10 @@ verbosity = 1;
|
|||
fimg_print_version(0);
|
||||
|
||||
foo = fimg_create(&fimg, 640, 480, 3);
|
||||
|
||||
printf("retour fimg_create ---> %d\n", foo);
|
||||
|
||||
fimg_printhead(&fimg);
|
||||
fimg_describe(&fimg, "vroum");
|
||||
|
||||
// fimg_save_as_pnm(&fimg, "foo.pnm", 0);
|
||||
foo = fimg_dump_to_file(&fimg, "foo.fimg", 0);
|
||||
|
|
Loading…
Reference in New Issue