mirror of
https://github.com/1Password/arboard.git
synced 2025-07-07 13:25:18 +00:00
9 lines
166 B
Rust
9 lines
166 B
Rust
use arboard::Clipboard;
|
|
|
|
fn main() {
|
|
let mut ctx = Clipboard::new().unwrap();
|
|
|
|
let img = ctx.get_image().unwrap();
|
|
|
|
println!("Image data is:\n{:?}", img.bytes);
|
|
}
|