IPTC and AVIF

Hugo v0.130.0 adds @bep’s new EXIF processing library, which looks very handy. I seem to remember him saying that extraction of IPTC data is not yet supported, however.

Is this on the roadmap? I currently use Python or JavaScript to build pages dynamically from IPTC data in images, but it would be nice to be able to do all that processing purely in Hugo.

Similarly, I’d be curious to know if there are plans to add AVIF support. Hugo’s image processing capabilities seem to have been improved a lot since I last looked at them, with the possibility to generate JPEG and WebP images. AVIF seems to be gaining some ground (it’s almost as well supported as WebP now) and often performs better, so maybe that’s something else that belongs on the roadmap if it’s not there already.

See also Add image processing support for AVIF · Issue #7837 · gohugoio/hugo · GitHub.

IPTC (and XMP, I guess) is supported by the new library, but it would require us to make some API changes on the Hugo side … When that will happen, I can not tell; the time I can spend on Hugo is limited, and my focus/interest seem to shift around a little.

As to AVIF, yea well, that would require some upstream support (Go std lib), which I’m not the right one to ask about.