Is it possible to take an image from the clipboard and output it to a file (using X)?
I can do this with text easily:
$ xclip -selection c -o > file.text
But when I try the above with an image nothing is written.
The reason I want to do this is I don't have an image editor installed, and it got me thinking whether I could do this without installing one.