From Fedora Project Wiki

Description

This test case ensures that the exempi tool, which provides access to XMP metadata, functions correctly on Fedora.

Setup

  1. Ensure you have exempi installed. If not, install it using the command: sudo dnf install exempi

How to test

  1. Open a terminal.
  2. Download a public domain image from Wikimedia Commons known to contain metadata: wget https://upload.wikimedia.org/wikipedia/commons/7/71/2010-kodiak-bear-1.jpg -O sample.jpg
  3. Use exempi to fetch metadata: exempi sample.jpg
  4. Modify the metadata for the image: exempi -w -s "/XMP-dc:Description=Test Description" sample.jpg
  5. Now, re-fetch the metadata to see the changes: exempi sample.jpg

Expected Results

  1. The command exempi sample.jpg should list down the XMP metadata of the sample image.
  2. After modifying the metadata, the new description "Test Description" should be reflected when you re-fetch the metadata.

Optional

You can further explore the tool by trying to add or modify different metadata fields or work with different file formats that support XMP metadata.