1HEIF-ENC(1)                 General Commands Manual                HEIF-ENC(1)
2
3
4

NAME

6       heif-enc - convert image to HEIC/HEIF
7

SYNOPSIS

9       heif-enc [-h|--help] [-q QUALITY|--quality QUALITY] [-L|--lossless] [-t
10       SIZE|--thumb SIZE] [--no-alpha] [--no-thumb-alpha] [-o  FILENAME|--out‐
11       put  FILENAME]  [-v|--verbose] [-P|--params] [-b DEPTH] [-p NAME=VALUE]
12       filename[.jpg|.png|.y4m]
13

DESCRIPTION

15       heif-enc Convert image to HEIC/HEIF.
16

OPTIONS

18       -q QUALITY, --quality QUALITY
19              Defines quality level between 0 and 100 for the generated output
20              file.
21
22       -L, --lossless
23              Generate lossless output (-q has no effect)
24
25       -t SIZE, --thumb SIZE
26              Generate thumbnail with maximum size SIZE pixels (default: off).
27
28       --no-alpha
29              Do not save alpha channel.
30
31       --no-thumb-alpha
32              Do not save alpha channel in thumbnail image.
33
34       -o FILENAME, --output FILENAME
35              Output filename (optional).
36
37       -v, --verbose
38              Enable logging output (more -v will increase logging level).
39
40       -P, --params
41              Show all encoder parameters.
42
43       -b DEPTH
44              Bit-depth  of  generated  HEIF  file when using 16-bit PNG input
45              (default: 10 bit).
46
47       -p NAME=VALUE
48              Set additional encoder parameters. See NOTES below.
49

EXIT STATUS

51       0
52           Success
53
54       1
55           Failure (syntax or usage error; error while loading, converting  or
56           writing image).
57

NOTES

59       The available input formats depend on the libraries that were available
60       at compile time. Supported are JPEG, PNG and Y4M, the file type is  de‐
61       termined based on the extension of the input file.
62
63       When specifying multiple source images, they will all be saved into the
64       same HEIF file.
65
66       When using the x265 encoder, you may pass it any of its  parameters  by
67       prefixing the parameter name with x265:.  Hence, to set the ctu parame‐
68       ter, you will have to set x265:ctu in libheif (e.g.: -p x265:ctu=64).
69
70       Note that there is no checking for valid parameters when using the pre‐
71       fix.
72

BUGS

74       Please reports bugs or issues at https://github.com/strukturag/libheif
75

AUTHORS

77       Dirk Farin, struktur AG
78
80       Copyright © 2017 struktur AG
81
82
83
84                                                                   HEIF-ENC(1)
Impressum