File: nxt-screenshot.rst

package info (click to toggle)
nxt-python 3.5.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 812 kB
  • sloc: python: 6,857; xml: 22; makefile: 20; sh: 4
file content (54 lines) | stat: -rw-r--r-- 1,139 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
Manual page for nxt-screenshot
==============================

Synopsis
--------

**nxt-screenshot**
[**--backend** *NAME*]
[**--config** *NAME*]
[**--config-filename** *PATH*]
[**--name** *NAME*]
[**--host** *ADDRESS*]
[**--server-host** *HOST*]
[**--server-port** *PORT*]
[**--filename** *FILENAME*]
[**--log-level** *LEVEL*]
*FILE*

Description
-----------

:command:`nxt-screenshot` takes a capture of a connected NXT brick and write
the captured image to a *FILE*.

The NXT brick can be connected using USB, Bluetooth or over the network.

A wide range of image formats is supported, thanks to the Python Imaging
Library.


Options
-------

*FILE*
   Filename to write captured image to.

--log-level LEVEL
   Set the log level. One of **DEBUG**, **INFO**, **WARNING**, **ERROR**, or
   **CRITICAL**. Messages whose level is below the current log level will not
   be displayed.


.. include:: common_options.rst


Example
-------

``nxt-screenshot --host 00:16:53:01:02:03 capture.png``
   Capture screen from connected NXT using its Bluetooth address. Save the
   result image in ``capture.png``.


.. include:: common_see_also.rst