Digikam on Elementary OS

Elementary OS is still based on Ubuntu 18.04.

Open a bug against the flathub package, they need to include the library that supports xcf.

Because you should be using elementary’s Photos app.