dng2avif
dng2avif [-h] [-i <file>] [-o <file>] [-q <n>] [-s <n>] [input.dng]Converts a DNG raw image to a 10-bit HDR AVIF using a three-step pipeline: develop with ImageMagick, encode with ffmpeg+avifenc, sync metadata with exiftool. Requires magick, ffmpeg, avifenc, and exiftool.
Arguments:
-i, --input FILE |
Input DNG file |
-o, --output FILE |
Output AVIF file (defaults to input basename) |
-q, --quality N |
Encoding quality 0-100 (default: 92) |
-s, --speed N |
Encoder speed 0-10 (default: 3, 0 = slowest) |
-h, --help |
Show help message |
Returns:
0 |
Conversion complete |
1 |
File not found, missing dependency, or encode step failed |
dng2avif photo.dngdng2avif -q 85 -s 5 -i shot.dng -o out.avif