about summary refs log tree commit diff
path: root/lri-study/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'lri-study/src/main.rs')
-rw-r--r--lri-study/src/main.rs10
1 files changed, 9 insertions, 1 deletions
diff --git a/lri-study/src/main.rs b/lri-study/src/main.rs
index 3e3f225..048083b 100644
--- a/lri-study/src/main.rs
+++ b/lri-study/src/main.rs
@@ -4,7 +4,7 @@ use std::{
 };
 
 use camino::Utf8PathBuf;
-use lri_rs::{DataFormat, LriFile, SensorModel};
+use lri_rs::{DataFormat, HdrMode, LriFile, SensorModel};
 use owo_colors::OwoColorize;
 
 const DATA: &'static str = "/Users/gen/thanks_lak";
@@ -78,6 +78,14 @@ fn gather() -> ! {
 				lri.image_gain.unwrap_or_default()
 			);
 
+			match lri.hdr {
+				None => print!("{} ", "hdr".dimmed()),
+				Some(HdrMode::None) => print!("{} ", "hdr".blue()),
+				Some(HdrMode::Default) => print!("hdr "),
+				Some(HdrMode::Natural) => print!("{} ", "hdr".bright_green()),
+				Some(HdrMode::Surreal) => print!("{} ", "hdr".bright_magenta()),
+			}
+
 			match lri.af_achieved {
 				None => print!("{} - ", "af".dimmed()),
 				Some(false) => print!("{} - ", "af".red()),