flathub / org.kde.digikam

https://flathub.org/apps/details/org.kde.digikam
5 stars 10 forks source link

ImageMagick fails to be used in Version 7.7.0 #42

Closed pkrause1980 closed 2 years ago

pkrause1980 commented 2 years ago

SUMMARY The ImageMagick Image-Loader plugin cannot handle any image format.

STEPS TO REPRODUCE Starting digikam with QT_LOGGING_RULES or looking at the image-loader plugins page of the settings menu.

OBSERVED RESULT

Relevant qt_logging output: ImageMagick coders list is null! ImageMagick coders list is null! digikam.general: Plugin of type Digikam::DPluginDImg loaded from "/app/lib/plugins/digikam/dimg/DImg_ImageMagick_Plugin.so"

Settings: The list (or rather box) of image-format handled is empty.

Thanks!

pkrause1980 commented 2 years ago

ImageMagick is found at compile time, according to the build-log.

According to https://imagemagick.org/script/resources.php "ImageMagick depends on a number of external configuration files"

These files are removed during the cleanup phase of the ImageMagick module, I checked the build-log, the manifest, and the resulting flatpak. Also the configure.xml, of ImageMagick, points them to be at /app/etc/ImageMagick-7/, which does not exist.

These config files seem to be unimportant for pure (not in the digikam flatpak) ImageMagick 6, e.g., "display example.heic", and there is no coders.xml (built by version 7), but maybe it is still worth a try.