arboard 3.6.1

Image and text handling for the OS clipboard.
Documentation
1
2
3
4
5
6
7
8
9
use arboard::Clipboard;

fn main() {
	let mut ctx = Clipboard::new().unwrap();

	let img = ctx.get_image().unwrap();

	println!("Image data is:\n{:?}", img.bytes);
}