This is a crate that allows you to easily exchange images with the clipboard.
Currently, only macOS is supported.
Save the clipboard image to a file as clipboard.png
```rust
use anyhow::Result;
async fn main() -> Result<()> { let img = imboard::copyimage::fromclipboard().await?; img.to_rgba().save("clipboard.png").unwrap(); Ok(()) } ```
Copy a file's image to the clipboard ```rust use anyhow::Result;
async fn main() -> Result<()> { let img = image::open("examples/images/copy.png")?; imboard::copyimage::toclipboard(img).await?; Ok(()) } ```