Просмотр исходного кода

xclip: add PNG image copying example (#3073)

Hugo Locurcio 5 лет назад
Родитель
Сommit
aeef500f4a
1 измененных файлов с 4 добавлено и 0 удалено
  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`