From 282fe9f14338cc4e2c4377dc1fdfdf77b38f2200 Mon Sep 17 00:00:00 2001 From: phyto Date: Wed, 7 Aug 2019 12:15:28 +0200 Subject: [PATCH] minor change --- lib/fimg-core.c | 2 +- lib/t.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/fimg-core.c b/lib/fimg-core.c index b424c801..669764af 100644 --- a/lib/fimg-core.c +++ b/lib/fimg-core.c @@ -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); diff --git a/lib/t.c b/lib/t.c index dd95758f..1a4a8ce6 100644 --- a/lib/t.c +++ b/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);