MRW: RawImage fields added upstream (lens_metadata, pixel_aspect)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Andrew Frahn
2026-10-20 10:56:25 +11:00
co-authored by Claude Sonnet 5.5
parent 5e1bac1264
commit de8e4c415c
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -14,8 +14,8 @@ pub(crate) mod crx_wavelet;
pub mod erf;
pub(crate) mod hasselblad;
pub mod kodak;
pub mod mrw;
pub mod mef;
pub mod mrw;
pub mod nef;
mod nef_lens;
pub mod nefc;
+2
View File
@@ -114,6 +114,8 @@ pub(crate) fn decode(bytes: &[u8], mode: Mode) -> Result<RawImage> {
linearized: false,
opcodes: OpcodeLists::default(),
metadata,
lens_metadata: Default::default(),
pixel_aspect: 1.0,
};
img.validate_for(mode)?;
Ok(img)