Merge pull request #765 from vangel76/gap-dpx-import
#756: import DPX and Cineon stills and sequences # Conflicts: # crates/media/tests/footage.rs # crates/ui-egui/src/menus.rs # docs/file-format-parity.md # docs/gaps.md
This commit is contained in:
@@ -736,6 +736,9 @@ impl Inner {
|
||||
None if &**path == PLACEHOLDER => Ok(colour_bars(footage.width, footage.height)),
|
||||
None => {
|
||||
let bytes = self.read(path)?;
|
||||
if let Some(img) = crate::dpx::decode(path, &bytes)? {
|
||||
return Ok(dynamic_to_image(&img, op));
|
||||
}
|
||||
if let Some(img) = crate::layered::decode(path, &bytes, footage, op)? {
|
||||
return Ok(img);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user