Is there a way in a bash to copy a picture to the clipboard?
For example if there is a picture mypic.png
I want to have a command like clipcopy mypic.png
such that I can go for example to inkscape and paste it afterwards.
bashclipboardcommand lineimages
Is there a way in a bash to copy a picture to the clipboard?
For example if there is a picture mypic.png
I want to have a command like clipcopy mypic.png
such that I can go for example to inkscape and paste it afterwards.
Best Answer
You can use CopyQ for this. From the website:
To copy an image (you need to indicate the MIME type):
To copy a data file (you need to indicate the MIME type):
Check their wiki for more documentation and usage examples.
See also: