fix(clipboard-manager): read_image wrongly set the image rgba data with binary PNG data. (#1986)

* fix(clipboard-manager): `read_image` wrongly set the image rgba data with binary PNG data.

* remove depencency of `image` crate; add patch file
This commit is contained in:
Rika
2024-10-31 01:29:14 +08:00
committed by GitHub
parent 1f649c7f1f
commit d57df4debe
4 changed files with 8 additions and 13 deletions
-3
View File
@@ -15,9 +15,6 @@ pub enum Error {
Clipboard(String),
#[error(transparent)]
Tauri(#[from] tauri::Error),
#[cfg(desktop)]
#[error("invalid image: {0}")]
Image(#[from] image::ImageError),
}
impl Serialize for Error {