Debian Codegraph @

examples/heif-enc.1

raw
1 .TH HEIF-ENC 1
2 .SH NAME
3 heif-enc \- convert image to HEIC/HEIF
4 .SH SYNOPSIS
5 .B heif-enc
6 [\fB\-h\fR|\fB--help\fR]
7 [\fB\-q\fR \fIQUALITY\fR|\fB--quality\fR \fIQUALITY\fR]
8 [\fB\-L\fR|\fB--lossless\fR]
9 [\fB\-t\fR \fISIZE\fR|\fB--thumb\fR \fISIZE\fR]
10 [\fB--no-alpha\fR]
11 [\fB--no-thumb-alpha\fR]
12 [\fB\-o\fR \fIFILENAME\fR|\fB--output\fR \fIFILENAME\fR]
13 [\fB\-v\fR|\fB--verbose\fR]
14 [\fB\-P\fR|\fB--params\fR]
15 [\fB\-b\fR \fIDEPTH\fR]
16 [\fB\-p\fR \fINAME\fR\fB=\fR\fIVALUE\fR]
17 .IR filename[.jpg|.png|.y4m]
18 .SH DESCRIPTION
19 .B heif-enc
20 Convert image to HEIC/HEIF.
21 .SH OPTIONS
22 .TP
23 .BR \-q\fR\ \fIQUALITY\fR ", " \-\-quality\fR\ \fIQUALITY\fR
24 Defines quality level between 0 and 100 for the generated output file.
25 .TP
26 .BR \-L ", "\-\-lossless\fR
27 Generate lossless output (\fB-q\fR has no effect)
28 .TP
29 .BR \-t\fR\ \fISIZE\fR ", " \-\-thumb\fR\ \fISIZE\fR
30 Generate thumbnail with maximum size \fISIZE\fR pixels (default: off).
31 .TP
32 .BR \-\-no-alpha\fR
33 Do not save alpha channel.
34 .TP
35 .BR \-\-no-thumb-alpha\fR
36 Do not save alpha channel in thumbnail image.
37 .TP
38 .BR \-o\fR\ \fIFILENAME\fR ", " \-\-output\fR\ \fIFILENAME\fR
39 Output filename (optional).
40 .TP
41 .BR \-\-verbose\fR
42 Enable logging output (more will increase logging level).
43 .TP
44 .BR \-P ", "\-\-params\fR
45 Show all encoder parameters and exit. Input file is not required or used.
46 .TP
47 .BR \-b\fR\ \fIDEPTH\fR
48 Bit-depth of generated HEIF file when using 16-bit PNG input (default: 10 bit).
49 .TP
50 .BR \-p\fR\ \fINAME\fR\fB=\fR\fIVALUE\fR
51 Set additional encoder parameters. See \fBNOTES\fR below.
52 .SH EXIT STATUS
53 .PP
54 \fB0\fR
55 .RS 4
56 Success
57 .RE
58 .PP
59 \fB1\fR
60 .RS 4
61 Failure (syntax or usage error; error while loading, converting or writing image).
62 .RE
63 .SH NOTES
64 The available input formats depend on the libraries that were available at
65 compile time. Supported are JPEG, PNG and Y4M, the file type is determined based
66 on the extension of the input file.
67
68 When specifying multiple source images, they will all be saved into the same
69 HEIF file.
70
71 When using the x265 encoder, you may pass it any of its parameters by
72 prefixing the parameter name with \fBx265:\fR.
73 Hence, to set the \fBctu\fR parameter, you will have to set \fBx265:ctu\fR
74 in libheif (e.g.: \fB-p x265:ctu=64\fR).
75
76 Note that there is no checking for valid parameters when using the prefix.
77 .SH BUGS
78 Please reports bugs or issues at https://github.com/strukturag/libheif
79 .SH AUTHORS
80 Dirk Farin, struktur AG
81 .SH COPYRIGHT
82 Copyright \[co] 2017 struktur AG