Browse Source

xclip: add PNG image copying example (#3073)

Hugo Locurcio 5 years ago
parent
commit
aeef500f4a
1 changed files with 4 additions and 0 deletions
  1. 4 0
      pages/linux/xclip.md

+ 4 - 0
pages/linux/xclip.md

@@ -19,6 +19,10 @@
 
 `xclip -sel clip {{input_file.txt}}`
 
+- Copy the contents of a PNG image into the system clipboard (can be pasted in other programs correctly):
+
+`xclip -sel clip -t image/png {{input_file.png}}`
+
 - Paste the contents of the X11 primary selection area to the console:
 
 `xclip -o`