fix(deps): update rust crate image to 0.25 (v2) (#1418)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: FabianLars <fabianlars@fabianlars.de>
This commit is contained in:
renovate[bot]
2024-09-16 13:20:08 +02:00
committed by GitHub
parent ca34972266
commit fd75401aee
3 changed files with 303 additions and 27 deletions

View File

@@ -29,4 +29,4 @@ tauri = { workspace = true, features = ["wry"] }
[target."cfg(any(target_os = \"macos\", windows, target_os = \"linux\", target_os = \"dragonfly\", target_os = \"freebsd\", target_os = \"openbsd\", target_os = \"netbsd\"))".dependencies]
arboard = "3"
image = "0.24"
image = "0.25"

View File

@@ -91,7 +91,7 @@ impl<R: Runtime> Clipboard<R> {
&image.bytes,
image.width as u32,
image.height as u32,
image::ColorType::Rgba8,
image::ExtendedColorType::Rgba8,
)?;
let image = Image::new_owned(buffer, image.width as u32, image.height as u32);