.HEIC and .AVIF test files

As part of the effort for Exiv2 to provide ISOBMFF support for darktable, it would be very helpful to have more test images in .HEIC and .AVIF formats.

I believe Canon have recently added HEIF support to some cameras, so I’m looking for .HEIC files for both Apple and Canon devices. https://www.cameralabs.com/?s=heif


5 posts were split to a new topic: Are HEIC and AVIF Files raws?

[update]: I’ve split the discussion about if the heic/avif files are raws or not to a separate topic, as it’s off-topic to the actual request for files (regardless of where they get uploaded to). - drop them here if you have some!

Ugh, no need for semantics. :wink:

If an image lands in raw.pixls.us that is HEIC/AVIF we can ask @andabata to drop them in this thread and scrub them.

If someone has HEIC and AVIF files just upload them here in the thread (I’ll make sure now that we can upload those filetypes). In fact, I’ve got an iphone I can generate an HEIC with. I’ll be right back. :wink:


I don’t know of any devices yet that produce an AVIF directly, so in the meantime the AOM test suite is probably the best bet?

Here’s an HEIC I just took:

(Sorry about not uploading it here - the forum is unhappy with .heic files at the moment… :slight_smile: ).

Thank You @patdavid and @kmilos

@patdavid Very pleased to say that tvisitor.cpp the code in my book dumps your .HEIC file effortlessly. So, when the tvisitor/ISOBMFF code is ported to Exiv2, we should be able to read those files.

@kmilos I don’t know what .AVIF files are! Peter has some which have been generated by a scanning application and tvisitor.cpp successfully dumps the metadata. I am aware of aviflib, and maybe we can use images from their test suite.

They’re also ISOBMFF image files. The only difference to HEIC is that they use the royalty-free AV1 codec to store the payload instead of H.265

@kmilos The more I learn about images, the less I know. It’s an endless mess of overlapping/duplicated standards that do the same job in much the same way. What’s the point of this mess? I smell business self-interest and brand loyalty over consumer choice and open standards.

I have worked with Peter to decode the metadata in both AVIF and HEIC files. The Canon CR3 file is also ISOBMFF, however the metadata structures are 100% different. JP2000 uses yet another scheme. So, although those files are all ISOBMFF, the internal structure of the metadata depends on the file formats.

Let’s try to get a sufficient spread of test files to be confident that when everything is delivered, darktable users will be happy. I’d like test images now to avoid bug reports later!

1 Like

Collection of HEIC files from Nokia: https://github.com/nokiatech/heif_conformance/tree/master/conformance_files

Collection of old AVIF files from Netflix: http://download.opencontent.netflix.com/?prefix=AV1/Chimera/AVIF/

AVIF testfiles from Microsoft (already mentioned above), they have EXIF metadata: https://github.com/AOMediaCodec/av1-avif/tree/master/testFiles/Microsoft

I have customized plug-in(s) for GIMP using libheif and libavif. If needed I can generate some HEIF or AVIF files with EXIF and/or XMP metadata. Just let me know if you need such files.

@novomesk Thank You, Daniel for those resources and your offer of help. You are indeed a very helpful person. And of course @patdavid @kmilos @1div0 @LebedevRI @heckflosse and everbody else working on the darktable/Exiv2/ISOBMFF matter. Thanks, Everybody.

Here are two AVIF files with metadata:
Metadata are close to the beginning of the file (created via libavif):
Metadata at the end of file (created via libheif):

Thanks for the two AVIF files, @novomesk. Very pleased to say that tvisitor.cpp (the code in the book) reads these files and finds the metadata. I’ve added the two files to the test suite for the book.

Bribery will get you everywhere. I sent Gordon £10 for coffee and he sent me 14 files from an EOS R5 and a Sony A1 Camera. There are 8xHIF, 2xARW and 4xCR3. Very pleased to say that tvisitor (the code in my book) reads the files and displays the Exif metadata. Tomorrow, I’ll analyse the files carefully.

For the moment, the files on the Exiv2 buildserver and I have let Gordon know that I plan to share them with the community.

I understand that a new sub-domain for test images is to be established on pixels.us and I hope to share those files with the community when that’s available.

If anybody else would like to show appreciation for Gordon’s contribution, you can buy him coffee via PayPal on his blog. https://www.cameralabs.com/?s=heif