bla
This commit is contained in:
parent
bb2b3b72de
commit
8c4b9a6aa0
@ -402,17 +402,18 @@ foo = format_from_extension(outfile);
|
||||
switch (foo) {
|
||||
case FILE_TYPE_FIMG:
|
||||
if (add_metadata) {
|
||||
fimg_default_metadata(&metadata, 51);
|
||||
fimg_default_metadata(&metadata, 0x51);
|
||||
/* copy some values to mdstruct */
|
||||
metadata.fval = to_save->fval;
|
||||
metadata.count = to_save->count;
|
||||
// fprintf(stderr, "-> save '%s' with metadata\n",
|
||||
// outfile);
|
||||
fprintf(stderr, "-> save '%s' with metadata\n",
|
||||
outfile);
|
||||
foo = fimg_dumpmd_to_file(to_save, outfile, \
|
||||
&metadata, 0);
|
||||
}
|
||||
else {
|
||||
foo = fimg_dump_to_file(to_save, outfile, 0);
|
||||
fprintf(stderr, "%s no dump of metadata ?\n", outfile);
|
||||
}
|
||||
break;
|
||||
case FILE_TYPE_PNM:
|
||||
|
Loading…
Reference in New Issue
Block a user