1
1
.\" Text automatically generated by txt2man
2
- .TH scrot 1 "10 Apr 2023" "scrot-1.9 " "command line screen capture utility"
2
+ .TH scrot 1 "10 Jun 2023" "scrot-1.10 " "command line screen capture utility"
3
3
.SH NAME
4
4
\fB scrot \fP - command line screen capture utility
5
5
\fB
@@ -32,7 +32,7 @@ screen.
32
32
Because \fB scrot \fP is a command line utility, it can easily be scripted and put to
33
33
novel uses. For instance, \fB scrot \fP can be used to monitor an X server in absence.
34
34
.PP
35
- \fB scrot \fP is free software under the MIT-advertising license.
35
+ \fB scrot \fP is free software under the MIT-feh license.
36
36
.SH OPTIONS
37
37
.TP
38
38
.B
@@ -70,7 +70,7 @@ Execute \fICMD\fP on the saved image.
70
70
.B
71
71
\fB -F \fP , \fB --file \fP \fI FILE \fP
72
72
Specify the output file. If \fI FILE \fP is "-", \fB scrot \fP will
73
- output a PNG image to stdout. The filename is
73
+ output the image to stdout. The filename is
74
74
expanded according to the format specified in
75
75
SPECIAL STRINGS. The output file may be specified
76
76
through the \fB -F \fP option, or as a non-option argument.
@@ -107,11 +107,6 @@ Capture Xinerama monitor number \fINUM\fP.
107
107
For multiple heads, screenshot all of them in order.
108
108
.TP
109
109
.B
110
- \fB -n \fP , \fB --note \fP \fI OPTS \fP
111
- \fI OPTS \fP is a collection of options which specify notes
112
- to bake into the image. See NOTE FORMAT.
113
- .TP
114
- .B
115
110
\fB -o \fP , \fB --overwrite \fP
116
111
By default \fB scrot \fP does not overwrite the output
117
112
\fI FILE \fP , use this option to enable it.
@@ -122,11 +117,11 @@ Capture the mouse pointer.
122
117
.TP
123
118
.B
124
119
\fB -q \fP , \fB --quality \fP \fI NUM \fP
125
- \fI NUM \fP must be between 1 and 100. For lossless output
126
- formats, a higher value represents better but slower
127
- compression. For lossy output formats, a higher
128
- value represents higher quality and larger
129
- file size . Default: 75.
120
+ \fI NUM \fP must be within [1, 100]. A higher value
121
+ represents better quality image and a lower value
122
+ represents worse quality image. Effect of this flag
123
+ depends on the file format, see COMPRESSION QUALITY
124
+ section . Default: 75.
130
125
.TP
131
126
.B
132
127
\fB -s \fP , \fB --select \fP [=\fI OPTS \fP ]
@@ -155,9 +150,17 @@ Use the currently focused window.
155
150
Output version information and exit.
156
151
.TP
157
152
.B
158
- \fB -w \fP , \fB --window \fP
153
+ \fB -w \fP , \fB --window \fP WID
159
154
Window identifier to capture.
160
- Must be a valid identifier (see \fB xwininfo \fP (1)).
155
+ WID must be a valid identifier (see \fB xwininfo \fP (1)).
156
+ .TP
157
+ .B
158
+ \fB -Z \fP , \fB --compression \fP LVL
159
+ Compression level to use, LVL must be within
160
+ [0, 9]. Higher level compression provides lower file
161
+ size at the cost of slower encoding/saving speed.
162
+ Effect of this flag depends on the file format, see
163
+ COMPRESSION QUALITY section. Default: 7.
161
164
.TP
162
165
.B
163
166
\fB -z \fP , \fB --silent \fP
@@ -221,7 +224,7 @@ Some actions allow optional parameters too.
221
224
222
225
blur,AMOUNT Blurs the selection area.
223
226
Optionally you can specify the amount of blur.
224
- Amount,range: 1..30, default : 18
227
+ Amount must be within [1, 30]. Default : 18.
225
228
226
229
.fam T
227
230
.fi
@@ -251,7 +254,7 @@ When using \fB-s\fP, you can indicate the style of the line with \fB-l\fP.
251
254
.fam C
252
255
style=STYLE STYLE is either "solid" or "dash" without quotes.
253
256
254
- width=NUM NUM is a pixel count between 1 and 8 inclusive .
257
+ width=NUM NUM is a pixel count within [1, 8] .
255
258
256
259
color="COLOR" Color is a hexadecimal HTML color code or the name of
257
260
a color. HTML color codes are composed of a pound
@@ -260,10 +263,9 @@ When using \fB-s\fP, you can indicate the style of the line with \fB-l\fP.
260
263
blue respectively. Examples: #FF0000 (red), #E0FFFF
261
264
(light cyan), #000000 (black).
262
265
263
- opacity=NUM NUM is between 0 and 255 inclusive. 255 means
264
- 100% opaque, 0 means 100% transparent. For the
265
- opacity of the line this is only effective if a
266
- Composite Manager is running.
266
+ opacity=NUM NUM is within [0, 255]. 255 means 100% opaque, 0 means
267
+ 100% transparent. For the opacity of the line, this is only
268
+ effective if the compositor supports _NET_WM_WINDOW_OPACITY.
267
269
268
270
mode=MODE MODE is either "edge" or "classic" without quotes.
269
271
edge is the new selection, classic uses the old one.
@@ -288,29 +290,12 @@ Example:
288
290
289
291
.fam T
290
292
.fi
291
- .SH NOTE FORMAT
292
- The \fB -n \fP option's argument is more arguments:
293
- .PP
294
- .nf
295
- .fam C
296
- -f 'FontName/size'
297
- -t 'text'
298
- -x position (optional)
299
- -y position (optional)
300
- -c color(RGBA, range 0..255) (optional)
301
- -a angle (optional)
302
-
303
- .fam T
304
- .fi
305
- Example:
306
- .PP
307
- .nf
308
- .fam C
309
- $ scrot -n "-f '/usr/share/fonts/TTF/DroidSans-Bold/40' -x 10
310
- -y 20 -c 255,0,0,255 -t 'Hi'"
293
+ .SH COMPRESSION QUALITY
311
294
312
- .fam T
313
- .fi
295
+ For lossless formats (e.g PNG), the quality options is ignored. For lossy
296
+ formats where the quality and compression are tied together (e.g JPEG),
297
+ compression will be ignored. And for image formats where quality and
298
+ compression can be independently set (e.g WebP, JXL), both flags are respected.
314
299
.SH SEE ALSO
315
300
\fB optipng \fP (1)
316
301
\fB xwininfo \fP (1)
0 commit comments