Browse Source

minor change

master
phyto 3 years ago
parent
commit
282fe9f143
  1. 2
      lib/fimg-core.c
  2. 2
      lib/t.c

2
lib/fimg-core.c

@ -64,7 +64,7 @@ if( ! fimg_type_is_valid(head->type) ) { @@ -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

@ -19,10 +19,10 @@ verbosity = 1; @@ -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…
Cancel
Save