HEIF-ENC(1)
πΈ HEIF-ENC(1) β the manual page, but make it cute πΈ
okay bestie, welcome to HEIF-ENC(1), straight outta the General Commands Manual π this is the little tool that takes your pics and turns them into HEIC/HEIF and honestly? it eats.
β¨ NAME β¨
heif-enc β convert image to HEIC/HEIF π
π¦ SYNOPSIS π¦
heif-enc [-h|--help] [-q QUALITY|--quality QUALITY] [-L|--lossless] [-t
SIZE|--thumb SIZE] [--no-alpha] [--no-thumb-alpha] [-o FILENAME|--output
FILENAME] [-v|--verbose] [-P|--params] [-b DEPTH] [-p NAME=VALUE]
filename[.jpg|.png|.y4m]
like... that's the whole vibe in one block, no cap.
π DESCRIPTION π
heif-enc converts an image to HEIC/HEIF. that's it, that's the job, and it does it flawlessly. periodt. β¨
π OPTIONS π
-q QUALITY,--quality QUALITYβ sets the quality level for the output file, anywhere from 0 to 100. pick your fighter π«Ά-L,--losslessβ gives you lossless output. and heads up bestie:-qhas no effect when you use this one. it's giving "i do what i want". π-t SIZE,--thumb SIZEβ makes a thumbnail with a maximum size of SIZE pixels. default is off, so if you want thumbnails you gotta ask for them. π--no-alphaβ do not save the alpha channel. bye transparency π¦--no-thumb-alphaβ do not save the alpha channel in the thumbnail image either. consistency, we love to see it.-o FILENAME,--output FILENAMEβ the output filename. it's optional, so like, your call. π--verboseβ turns on logging output, and more of it cranks the logging level up higher. the way that more--verbose= more talking?? iconic. π’-P,--paramsβ shows you all the encoder parameters and then exits. and get this: the input file is not required or used. so you can just vibe and read the menu. π-b DEPTHβ the bit-depth of the generated HEIF file, used when you're feeding in a 16-bit PNG input. default is 10 bit. β-p NAME=VALUEβ set extra encoder parameters. details down in NOTES, keep scrolling bestie π
π EXIT STATUS π
0β success!! we slayed π1β failure. and yeah, that covers syntax or usage errors, plus errors while loading, converting or writing the image. it's a whole umbrella of not-today. π
π NOTES π
which input formats you get depends on the libraries that were available at compile time, so it's lowkey a mystery until you try. supported are JPEG, PNG and Y4M, and the file type is figured out based on the extension of the input file. π
when you specify multiple source images, they will all be saved into the same HEIF file. one file, many pics, main character energy. π
when you're using the x265 encoder, you may pass it any of its parameters by prefixing the parameter name with x265:. so to set the ctu parameter, you'll have to set x265:ctu in libheif β like this:
-p x265:ctu=64
β οΈ and bestie, listen: there is no checking for valid parameters when you use that prefix. it will not hold your hand. it will not warn you. it will simply let you cook. π₯
π BUGS π
please report bugs or issues at https://github.com/strukturag/libheif β they wanna hear from you fr fr π«Ά
π§ AUTHORS π§
Dirk Farin, struktur AG β thank you for your service π
π COPYRIGHT π
Copyright Β© 2017 struktur AG
and that's the whole page bestie!! this one came from the General Commands Manual, filed under HEIF-ENC(1) β go forth and convert, you absolute icon πΈβ¨π
π¦ where this page comes from
- alpine 3.23: libheif-doc 1.23.0-r0 Β· LGPL-3.0-or-later
- alpine 3.24: libheif-doc 1.23.4-r0 Β· LGPL-3.0-or-later
- arch rolling: libheif 1.23.7-1 Β· LGPL-3.0-or-later
- debian trixie: libheif-examples 1.19.8-1+deb13u1 Β· LGPL-3.0-or-later
- debian trixie: libheif-examples 1.23.4-1~deb13u1
- debian trixie: libheif-examples 1.23.6-2~deb13u1 Β· LGPL-3.0-or-later
- epel 10: libheif-tools 1.23.6-1.el10_3 Β· MIT
- epel 9: libheif-tools 1.23.6-1.el9 Β· MIT
- fedora 43: libheif-tools 1.20.2-6.fc43 Β· MIT
- fedora 43: libheif-tools 1.23.5-3.fc43
- fedora 43: libheif-tools 1.23.6-1.fc43
- fedora 43: libheif-tools 1.23.7-1.fc43 Β· MIT
- fedora 44: libheif-tools 1.21.2-1.fc44 Β· MIT
- fedora 44: libheif-tools 1.23.5-3.fc44
- fedora 44: libheif-tools 1.23.6-1.fc44
- fedora 44: libheif-tools 1.23.7-1.fc44 Β· MIT
- nixpkgs unstable: libheif 1.23.6
- ubuntu questing: libheif-examples 1.20.2-1
- ubuntu questing: libheif-examples 1.20.2-1ubuntu0.6
- ubuntu resolute: libheif-examples 1.21.2-3 Β· LGPL-3.0-or-later
- ubuntu resolute: libheif-examples 1.21.2-3ubuntu0.6 Β· LGPL-3.0-or-later
- ubuntu stonking: libheif-examples 1.23.4-1 Β· LGPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms