heif-enc - convert image to HEIC/HEIF
Contents
Bugs
Please reports bugs or issues at https://github.com/strukturag/libheif
Copyright
Copyright © 2017 struktur AG
HEIF-ENC(1)
Description
heif-enc Convert image to HEIC/HEIF.
Exit Status
0
Success
1
Failure (syntax or usage error; error while loading, converting or writing image).
Name
heif-enc - convert image to HEIC/HEIF
Notes
The available input formats depend on the libraries that were available at compile time. Supported are
JPEG, PNG and Y4M, the file type is determined based on the extension of the input file.
When specifying multiple source images, they will all be saved into the same HEIF file.
When using the x265 encoder, you may pass it any of its parameters by prefixing the parameter name with
x265:. Hence, to set the ctu parameter, you will have to set x265:ctu in libheif (e.g.: -px265:ctu=64).
Note that there is no checking for valid parameters when using the prefix.
Options
-qQUALITY, --qualityQUALITY
Defines quality level between 0 and 100 for the generated output file.
-L, --lossless
Generate lossless output (-q has no effect)
-tSIZE, --thumbSIZE
Generate thumbnail with maximum size SIZE pixels (default: off).
--no-alpha
Do not save alpha channel.
--no-thumb-alpha
Do not save alpha channel in thumbnail image.
-oFILENAME, --outputFILENAME
Output filename (optional).
--verbose
Enable logging output (more will increase logging level).
-P, --params
Show all encoder parameters and exit. Input file is not required or used.
-bDEPTH
Bit-depth of generated HEIF file when using 16-bit PNG input (default: 10 bit).
-pNAME=VALUE
Set additional encoder parameters. See NOTES below.
Synopsis
heif-enc [-h|--help] [-qQUALITY|--qualityQUALITY] [-L|--lossless] [-tSIZE|--thumbSIZE] [--no-alpha]
[--no-thumb-alpha] [-oFILENAME|--outputFILENAME] [-v|--verbose] [-P|--params] [-bDEPTH] [-pNAME=VALUE] filename[.jpg|.png|.y4m]