Created attachment 134474 [details] sample wmf file I would like dikikam to display .wmf clipart files, which unfortunately doesn't work. I have a folder with some .wmf files ( one of which attached for reference). It's added to the Albums, but doesn't show a thumbnail nor can it be displayed as preview. When launching the programme there are errors: digikam.general: Cannot create thumbnail for "/home/gimpy/Bilder/wmf/0013.wmf" digikam.general: Thumbnail is null for "/home/gimpy/Bilder/wmf/0013.wmf" digikam.metaengine: Cannot load metadata from file /home/gimpy/Bilder/wmf/0019.wmf (Error # 11 : /home/gimpy/Bilder/wmf/0019.wmf: Die Datei enthält Daten eines unbekannten Bildtyps. Looks as if it determines the files as HEIF, but they are .wmf. OBSERVED RESULT no thumbnails of wmf files, no preview EXPECTED RESULT SOFTWARE/OS VERSIONS digikam 7.1.0 Appimage on Linux Mint 19.2 Linux (x86_64) release 4.15.0-128-generic
WMF are video files and must be supported by default in Linux AppImage bundle, as we use ffmpeg in background to render video files. Gilles Caulier
Correction : WMF is not a video, but a vector graphic image (aka SVG for ex) bash-3.2$ file 0025.wmf 0025.wmf: Windows metafile https://en.wikipedia.org/wiki/Windows_Metafile Currently this kind of file is interpreted as a video in digiKam, which is wrong of course... In digiKam, we have a ImageMagick image loader plugin which support this format : https://imagemagick.org/script/formats.php Gilles Caulier
Git commit c7524fa30c64354f14cb8f68a3797f366fd6e76d by Gilles Caulier. Committed on 03/01/2021 at 13:48. Pushed by cgilles into branch 'master'. WMF is a vector graphic image file, not a video file M +77 -16 core/libs/database/coredb/coredbschemaupdater.cpp M +1 -1 core/libs/database/coredb/coredbschemaupdater.h https://invent.kde.org/graphics/digikam/commit/c7524fa30c64354f14cb8f68a3797f366fd6e76d
Voilà: https://i.imgur.com/MPnJJPb.png With my last change, WMF is now processed as an image by ImageMagick. If contents of image is not perfect, report this problem to ImageMAgick team as codec is implemented in this software component. Gilles Caulier
Have to come back to this, sorry. My field for ImageMagick loader is completely empty. How do I get those entries in that I can see in your screenshot?