minor change

This commit is contained in:
phyto 2019-08-07 12:15:28 +02:00
parent 38eae482ba
commit 282fe9f143
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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);