AVIF export not writing metadata (Solved)

I am using 5.1.0+570~g230b1df204-dirty on macOS and when I export to avif lossy there is no camera relate metadata. where if I convert a png, jpg etc to avif using libheif heir-enc it writes all metadata.

Can anyone confirm that this is a bug or I am only having this problem

Did you read the release notes ?

When exporting to AVIF, EXR, JPEG XL, or XCF, selecting specific metadata (e.g. geo-tag or creator) is not currently possible. For AVIF, EXR, JPEG XL, and XCF formats, darktable will not include any metadata fields unless the user selects all of the checkboxes in the export module’s preference options.

3 Likes

They are all checked my other export in other formats displays it

Can you post a screenshot?

Screenshot of what?
Someone please export an image in avif from Darktable and see if metadeta is preset and reply here.

Already checked this before posting the reference to the relese notes, works for me !

Your export preferences dialog and your export dialog.


exiftool /Volumes/ExtHD/A7C2/2025-04-09/darktable_exported/DSC01104.avif
ExifTool Version Number : 13.25
File Name : DSC01104.avif
Directory : /Volumes/ExtHD/A7C2/2025-04-09/darktable_exported
File Size : 176 kB
File Modification Date/Time : 2025:04:11 18:43:42+05:30
File Access Date/Time : 2025:04:11 18:44:09+05:30
File Inode Change Date/Time : 2025:04:11 18:44:05+05:30
File Permissions : -rw-r–r–
File Type : AVIF
File Type Extension : avif
MIME Type : image/avif
Major Brand : AV1 Image File Format (.AVIF)
Minor Version : 0.0.0
Compatible Brands : avif, mif1, miaf
Handler Type : Picture
Primary Item Reference : 1
Image Width : 7032
Image Height : 4688
Image Spatial Extent : 7032x4688
Image Pixel Depth : 12 12 12
AV1 Configuration Version : 1
Chroma Format : YUV 4:2:0
Chroma Sample Position : Unknown
Color Profiles : nclx
Color Primaries : BT.709
Transfer Characteristics : sRGB or sYCC
Matrix Coefficients : BT.601
Video Full Range Flag : Full
Media Data Size : 175810
Media Data Offset : 271
Image Size : 7032x4688
Megapixels : 33.0

The text above does say all checkboxes need to be selected.

You did not checked all the boxes.

Ok Now it is showing the other Tags. Thanks I was not aware about it

:thinking:

Please apply some.compression to your screenshot next time… 10.8 MB is a ridiculous size.

The confusion was about Private tags, synonyms, omit hierarchy and hierarchical tags. as all of them were shown as a subset of tags which was ticked I assume that normal tags like exposure, iso,fstop etc. will be included.

It is quite simple, all means all.