Add simple OpenEXR save/load support using tinyexr

* Thanks to https://github.com/syoyo/tinyexr for the load and save code!
This commit is contained in:
baldurk
2015-01-06 17:43:19 +00:00
parent 4a73f69821
commit 1c9269fc8d
10 changed files with 87 additions and 12 deletions
@@ -150,7 +150,9 @@ namespace renderdocui.Windows.Dialogs
jpegCompression.Enabled = (saveData.destType == FileType.JPG);
alphaLDRGroup.Visible = (saveData.destType != FileType.HDR && saveData.destType != FileType.DDS);
alphaLDRGroup.Visible = (saveData.destType != FileType.HDR &&
saveData.destType != FileType.EXR &&
saveData.destType != FileType.DDS);
bool noAlphaFormat = (saveData.destType == FileType.BMP || saveData.destType == FileType.JPG);