diff options
Diffstat (limited to 'lri-study')
-rw-r--r-- | lri-study/src/main.rs | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/lri-study/src/main.rs b/lri-study/src/main.rs index 048083b..a7368dc 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, HdrMode, LriFile, SensorModel}; +use lri_rs::{DataFormat, HdrMode, LriFile, SceneMode, SensorModel}; use owo_colors::OwoColorize; const DATA: &'static str = "/Users/gen/thanks_lak"; @@ -86,6 +86,15 @@ fn gather() -> ! { Some(HdrMode::Surreal) => print!("{} ", "hdr".bright_magenta()), } + match lri.scene { + None | Some(SceneMode::None) => print!("sc:{} ", "nop".dimmed()), + Some(SceneMode::Portrait) => print!("sc:prt "), + Some(SceneMode::Landscape) => print!("sc:lnd "), + Some(SceneMode::Macro) => print!("sc:mcr "), + Some(SceneMode::Sport) => print!("sc:spt "), + Some(SceneMode::Night) => print!("sc:ni "), + } + match lri.af_achieved { None => print!("{} - ", "af".dimmed()), Some(false) => print!("{} - ", "af".red()), |