mirror of
https://github.com/storytold/lightcraft.git
synced 2026-10-28 20:17:18 -06:00
MRW: RawImage fields added upstream (lens_metadata, pixel_aspect)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 5.5
parent
5e1bac1264
commit
de8e4c415c
Vendored
+1
-1
@@ -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;
|
||||
|
||||
Vendored
+2
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user