diff --git a/Cargo.lock b/Cargo.lock index 110a3c98e..4ac71ed90 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -739,7 +739,7 @@ dependencies = [ "hex", "hex-literal", "id3", - "image 0.24.9", + "image", "img-parts", "jfifdump", "js-sys", @@ -1028,12 +1028,6 @@ version = "0.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f46ad14479a25103f283c0f10005961cf086d8dc42205bb44c46ac563475dca6" -[[package]] -name = "color_quant" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d7b894f5411737b7867f4827955924d7c254fc9f4d91a6aad6b097804b1018b" - [[package]] name = "colorchoice" version = "1.0.3" @@ -2349,20 +2343,6 @@ dependencies = [ "icu_properties", ] -[[package]] -name = "image" -version = "0.24.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5690139d2f55868e080017335e4b94cb7414274c74f1669c84fb5feba2c9f69d" -dependencies = [ - "bytemuck", - "byteorder", - "color_quant", - "jpeg-decoder", - "num-traits", - "png", -] - [[package]] name = "image" version = "0.25.6" @@ -2504,12 +2484,6 @@ dependencies = [ "syn 2.0.100", ] -[[package]] -name = "jpeg-decoder" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f5d4a7da358eff58addd2877a45865158f0d78c911d43a5784ceb7bbf52833b0" - [[package]] name = "js-sys" version = "0.3.77" @@ -2681,7 +2655,7 @@ dependencies = [ "anyhow", "c2pa", "env_logger", - "image 0.25.6", + "image", "log", "memchr", "nom", diff --git a/make_test_images/Cargo.toml b/make_test_images/Cargo.toml index 967631c61..06067f193 100644 --- a/make_test_images/Cargo.toml +++ b/make_test_images/Cargo.toml @@ -19,7 +19,7 @@ anyhow = "1.0.40" c2pa = { path = "../sdk" } env_logger = "0.11" log = "0.4.8" -image = { version = "0.25.2", default-features = false, features = [ +image = { version = "0.25.6", default-features = false, features = [ "jpeg", "png", ] } diff --git a/sdk/Cargo.toml b/sdk/Cargo.toml index 25e78bbde..cf6d460ae 100644 --- a/sdk/Cargo.toml +++ b/sdk/Cargo.toml @@ -134,7 +134,7 @@ tempfile = { version = "3.15", features = ["nightly"] } ureq = "2.4.0" [target.'cfg(any(target_os = "wasi", not(target_arch = "wasm32")))'.dependencies] -image = { version = "0.24.7", default-features = false, features = [ +image = { version = "0.25.6", default-features = false, features = [ "jpeg", "png", ], optional = true }