trying to do EXR io

This commit is contained in:
tth
2021-03-21 09:02:55 +01:00
parent 3f551e1473
commit 635b722635
10 changed files with 74 additions and 5 deletions

View File

@@ -53,6 +53,9 @@ switch(filetype) {
case FILE_TYPE_BMP:
fprintf(stderr, "%s: file type BMP not implemented\n", __func__);
foo = -666;
case FILE_TYPE_EXR:
fprintf(stderr, "%s: file type EXR experimental\n", __func__);
foo = fimg_save_as_exr(pic, fname, 0);
default:
foo = -1789;
break;