
Photo: libre-software.net. License: CC BY-SA 4.0
How to edit image metadata on Linux using a graphical user interface
Last updated on October 11, 2022
Image metadata is a complex field with multiple standards, the most important among them being Exif, IPTC-IIM and XMP. In this guide I try to find a solution to edit (read, modify, remove) image metadata (jpg, png, …) on Linux, if possible with a graphical user interface (GUI).
Many photo editors and image manipulation programs on Linux are capable to read and display Exif and XMP information. The GIMP can import and export .xmp files, but is unable to edit image metadata on-the-fly. Here is a screenshot of the GIMP’s “Image Properties” dialog:

Same thing for Eye of Gnome (aka Image Viewer), gThumb and most photo managers on Ubuntu, Linux Mint, Fedora, and most Linux distributions: they all can read at least Exif, but can’t edit image metadata.
Edit image metadata in Linux (GUI)
Currently there are only three pieces of software who are capable of editing pictures metadata. One of them is not Free Software: XnView is an image organizer which has been around for decades and comes as a Freeware for non-commercial use.
Modify image metadata with XnView
Download and install XnView MP from the official website. Open and select (with Control or ⇧ Shift) one or multiple files in XnView’s file browser, right-click on them and select “Edit ITPC/XMP”. You’ll get the following dialog, which also allows you to batch edit metadata information.

Saving metadata with XnView works fine, but I couldn’t figure out what kind of metadata I was editing. Was it Exif, XMP, or ITPC/IIM? The only solution was to edit and save changes, and later check the metadata information in an image viewer.
Also, adding Creative Commons license link in the Copyright field would create a dc:rights
field, which is ok. The Credits and Source fields of the XnView metadata editor create photoshop:Credits
and photoshop:Source
metadata entries. I found no way to create dc:creator
or dc:publisher
XMP ITPC entries.
Modify image metadata with Darktable
Darktable is not a metadata editor, but an open source photography application and RAW developer. Install Darktable and import a bunch of files (lighttable/import module on the left side). Select one or multiple files and check out the “metadata editor” in the right sidebar:
Unfortunately, Darktable is only able to edit a very limited set of metadata: title, description, creator, publisher, and rights. Batch edition is possible, though. Don’t forget to export through the “export selected” module. I had some trouble conserving the color space and ended up with considerably bigger image files (working with .png pictures) than the original after adding metadata.
Editing image metadata with Digikam
DigiKam is probably the most advanced photo editing software on Linux. It is written in QT for the KDE desktop environment, which is installed by default on Linux distributions as OpenSUSE, Kunbuntu and Mageia.
If you use Ubuntu, Linux Mint, Fedora, Debian with their default desktop environment (Unity, Cinnamon/Mate, Gnome), then installing DigiKam is not especially recommended, as it would come with huge dependencies.

DigiKam’s Metadata Editor supports more than a few basic tags: a well-designed dialog makes editing EXIF, IPTC and XMP tags clear and understandable.
Conclusion on editing metadata on Linux via a GUI
If you happen to use KDE as your desktop environment, DigiKam is the best tool to edit image metadata. If you use Ubuntu, Linux Mint or any other distribution with another desktop environment, give XnView a try. Apart of its perfectible metadata editing capabilities, it happens to be a fantastic image manager and viewer.
In both cases, using command line tools may save you some time a the end. There are two GPL-Licensed powerful command line tools on Linux: Exiv2 and ExifTool. I ended up using ExifTool for my needs.
By Johannes Eva, April – October 2022
10 thoughts on “AVIF browser test page: AVIF support in Chrome, Firefox, Edge…”
Ezgif even does animated AVIFs:
https://ezgif.com/avif-maker
AVIF is now supported in official Firefox 93:
https://www.mozilla.org/en-US/firefox/93.0/releasenotes/
Could you make a similar page for a JPEG XL test?
Thank you for your interest – a JPEG XL test page would be useful, but I have no time left at the moment. Hopefully at some time in 2022 🙂
The following plugin, coupled with the functions.php code mentioned in the post, will allow AVIF images to be uploaded via the Media Library.
https://wordpress.org/plugins/blob-mimes/
Sadly your site need javascript enable for the test avif vs jpeg. If noscript bloc everything, this page say that AVIF is not supported and display JPEG fallback.
In JS dependences there is also google-analytics that is not fair play for a libre-software website :(.
Thank you for your article anyway.
Actually, AVIF/JPEG fallback using the element is pure HTML and does not need Javascript, even on this site. And you’re right, I really should switch from GA to Matomo, it’s a matter of time. Cheers!
Nice article. Love how you included a detailed tutorial for WordPress. I have created a UX optimized converter that support bulk conversion, without the need of uploading files. You can find it on: https://avif.io/
The next update will include a settings panel on which you can edit the quality, effort and exif data.
Feel free to add it to the converter list if you feel like it’s a great addition. Sincerely, Justin
MConverter can convert most image formats to AVIF: https://mconverter.eu/convert/to/avif/
Another nice thing is that it supports batch converting of multiple files at the same time. For the compression it uses a CRF of 10, so the converted images look basically identical.
No option for android
I found this it really helped me and it support batch conversion please add it to the list:
https://play.google.com/store/apps/details?id=ebusky.avif.image.viewer.converter.pdf