I’m making a certain program, and I need user to manually do print screen and then I need to somehow retrieve it from clipboard and get int[] pixels or bufferedImage or some readable data like that.
I have done some googling, but didn’t find anything :’(
EDIT-------
Or maybe I found something… Will post a reply here once I figure it all out.
EDIT--------------
Ok I’m stupid you can delete this post. There are some resources on google, I just didn’t like the look of them.
BufferedImage image = (BufferedImage) Toolkit.getDefaultToolkit().getSystemClipboard().getData(DataFlavor.imageFlavor);