Explorar o código

xclip: add PNG image copying example (#3073)

Hugo Locurcio %!s(int64=5) %!d(string=hai) anos
pai
achega
aeef500f4a
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  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`