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.
pacman
so I shall have to get the upstream version. Thanks! – Lerp Jul 21 '14 at 08:23-selection primary
instead. – phil294 Feb 16 '20 at 18:02grep
for example. – derobert Dec 01 '20 at 21:48