File: writing-raw-data.rst

package info (click to toggle)
copyq 13.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 12,964 kB
  • sloc: cpp: 63,306; sh: 992; xml: 452; python: 293; ruby: 152; makefile: 27; javascript: 25
file content (14 lines) | stat: -rw-r--r-- 333 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Writing Raw Data
================

Application allows you to save any kind of data using *drag and drop* or
scripting interface.

To add an image to ``Images`` tab you can run:

::

    cat image1.png | copyq tab Images write image/png -

This works for any other MIME data type (though unknown formats won't be
displayed properly).