Commit 67042474 for libheif
commit 670424748a1b5fde3071f21ed7e40774c4d61b13
Author: Dirk Farin <dirk.farin@gmail.com>
Date: Sun Sep 6 16:14:47 2026 +0200
README: apply the review of PR #1858
Follow-up to the two preceding commits, which were not updated after the review.
heif-enc does write MP4 video, with the --video option, so restore that half of
the sentence rather than dropping it.
Keep "libheif comes with" lowercase. The README opens sentences with a lowercase
"libheif" in nine places and with "Libheif" in two, so capitalizing here moved
towards the minority spelling.
Add the missing "or" in the two heif-dec output lists, in the Usage and the
Example programs sections.
Also mention raw pixel data. heif-enc reads it from files with a .raw or .img
suffix (and with --raw for other names), which neither the old nor the new text
said.
The codec table itself is correct: decoder_ffmpeg.cc answers
ffmpeg_does_support_format() for HEVC, AVC, VVC, AV1, JPEG, JPEG 2000 and HTJ2K,
and there is no ffmpeg encoder plugin. heif-dec writes jpg/jpeg, png, tif/tiff,
webp and y4m; heif-enc reads those plus raw/img and heif/heic/hif/avif/avifs.
diff --git a/README.md b/README.md
index 399c5e0a..84b7b7ce 100644
--- a/README.md
+++ b/README.md
@@ -300,9 +300,9 @@ You can also add plugin directories programmatically.
## Usage
-Libheif comes with a set of command line tools:
-* `heif-dec` for decoding HEIF images to JPEG, PNG, TIFF, WebP, Y4M. It can also decode image sequences or MP4 video.
-* `heif-enc` for encoding JPEG, PNG, TIFF, WebP, Y4M, or HEIF/AVIF images to HEIF/AVIF images, image sequences.
+libheif comes with a set of command line tools:
+* `heif-dec` for decoding HEIF images to JPEG, PNG, TIFF, WebP, or Y4M. It can also decode image sequences or MP4 video.
+* `heif-enc` for encoding JPEG, PNG, TIFF, WebP, Y4M, raw pixel data, or HEIF/AVIF images to HEIF/AVIF images, image sequences, or MP4 video.
* `heif-info` for getting some overview information about the HEIF file or (using the `-d` option) to dump the full box structure of the file.
* `heif-view` for displaying HEIF image sequences
@@ -365,8 +365,8 @@ This is `libheif` running in JavaScript in your browser.
## Example programs
Some example programs are provided in the `examples` directory.
-The program `heif-dec` converts all images stored in an HEIF/AVIF file to JPEG, PNG, TIFF, WebP, Y4M.
-`heif-enc` lets you convert JPEG, PNG, TIFF, WebP, Y4M and HEIF/AVIF files to HEIF/AVIF.
+The program `heif-dec` converts all images stored in an HEIF/AVIF file to JPEG, PNG, TIFF, WebP, or Y4M.
+`heif-enc` lets you convert JPEG, PNG, TIFF, WebP, Y4M, raw pixel data (`.raw`, `.img`), and HEIF/AVIF files to HEIF/AVIF.
The program `heif-info` is a simple, minimal decoder that dumps the file structure to the console.
For example convert `example.heic` to JPEGs and one of the JPEGs back to HEIF: