Skip to content

FilmCraft: An open-source, nonlinear video editor written by scratch in pure Rust

Merge main into #1068 (media dev-dependencies, still.rs docs after #931)

Brandon Thomas192b24664e96
diff --cc crates/engine/Cargo.toml
index e888df87c,fbf352f9b..16283a375
--- a/crates/engine/Cargo.toml
+++ b/crates/engine/Cargo.toml
@@@ -46,6 -46,5 +46,6 @@@ web-time = "1
[dev-dependencies]
filmcraft-testkit = { workspace = true }
+filmcraft-dng = { workspace = true, features = ["writer"] }
filmcraft-isobmff = { workspace = true }
- image = { version = "0.25", default-features = false, features = ["png"] }
+ image = { version = "0.25", default-features = false, features = ["png", "gif"] }
diff --cc crates/media/Cargo.toml
index c72041494,69e732ab3..ad14cbb79
--- a/crates/media/Cargo.toml
+++ b/crates/media/Cargo.toml
@@@ -20,4 -19,5 +20,6 @@@ thiserror = { workspace = true
image = { version = "0.25", default-features = false, features = ["png", "jpeg", "gif", "webp", "tiff", "bmp"] }
[dev-dependencies]
+filmcraft-dng = { workspace = true, features = ["writer"] }
+ # APNG fixtures for the animated-image tests (the image crate does not encode APNG)
+ png = "0.18"
diff --cc crates/media/src/still.rs
index 52b3a001f,beb52a699..b50832ec1
--- a/crates/media/src/still.rs
+++ b/crates/media/src/still.rs
@@@ -1,5 -1,5 +1,6 @@@
- //! Still images (PNG, JPEG, GIF (first frame), WebP, TIFF, BMP, Targa, DPX, DNG camera raw) as media
- //! sources.
-//! Still images (PNG, JPEG, GIF, WebP, TIFF, BMP, Targa, DPX) as media sources. Animated PNG and
-//! GIF files open as movies instead ([`crate::animated`]); here they would show their first frame.
++//! Still images (PNG, JPEG, GIF, WebP, TIFF, BMP, Targa, DPX, DNG camera raw) as media sources.
++//! Animated PNG and GIF files open as movies instead ([`crate::animated`]); here they would show
++//! their first frame.
use std::sync::Arc;