[digiKam-users] Digikam-6.4.0 or 7.0.0.beta give : Unknown image format !!!

Bureau skyrostyan at orange.fr
Tue Mar 31 20:06:16 BST 2020


Hello,
After migration from version 6.3.0 to version 6.4.0 or 7.0.0.beta,
I still see my thumbnails in digikam but I can no longer open them in 
the preview window.
Showfoto doesn't work either.
I launched digikam (and showfoto) from a terminal and each time I try to 
have a preview or open a photo I have a warning:

export QT_LOGGING_RULES="digikam*=true"
digikam

digikam.general: Try to get preview from 
"/pub/multimedia/album/wissant/p5100273.jpg"
digikam.general: Preview quality:  0
digikam.general: Try to load DImg preview from: 
"/pub/multimedia/album/wissant/p5100273.jpg"
digikam.dimg: "/pub/multimedia/album/wissant/p5100273.jpg" : Unknown 
image format !!!
digikam.general: Cannot extract preview for 
"/pub/multimedia/album/wissant/p5100273.jpg"
digikam.general: Stacked View Mode :  1
digikam.general: Stacked View Mode :  1

#######

export QT_LOGGING_RULES="showfoto*=true"
showfoto

digikam.showfoto: patterns= "*.bmp *.bw *.cur *.eps *.epsf *.epsi *.gif 
*.hdr *.icns *.ico *.kra *.mng *.ora *.pbm *.pcx *.pgm *.pic *.png *.ppm 
*.psd *.ras *.rgb *.rgba *.sgi *.svg *.svgz *.tga *.wbmp *.webp *.xbm 
*.xcf *.xpm *.tiff *.tif *.jpg *.jpeg *.jpe *.jp2 *.j2k *.jpx *.pgx 
*.pgf *.heic *.heif*.3fr *.arw *.bay *.bmq *.cine *.cr2 *.crw *.cs1 
*.dc2 *.dcr *.dng *.erf *.fff *.hdr *.ia *.k25 *.kc2 *.kdc *.mdc *.mef 
*.mos *.mrw *.nef *.nrw *.orf *.pef *.pxn *.qtk *.raf *.raw *.rdc *.rw2 
*.rwl *.sr2 *.srf *.srw *.sti *.x3f  *.BMP *.BW *.CUR *.EPS *.EPSF 
*.EPSI *.GIF *.HDR *.ICNS *.ICO *.KRA *.MNG *.ORA *.PBM *.PCX *.PGM 
*.PIC *.PNG *.PPM *.PSD *.RAS *.RGB *.RGBA *.SGI *.SVG *.SVGZ *.TGA 
*.WBMP *.WEBP *.XBM *.XCF *.XPM *.TIFF *.TIF *.JPG *.JPEG *.JPE *.JP2 
*.J2K *.JPX *.PGX *.PGF *.HEIC *.HEIF*.3FR *.ARW *.BAY *.BMQ *.CINE 
*.CR2 *.CRW *.CS1 *.DC2 *.DCR *.DNG *.ERF *.FFF *.HDR *.IA *.K25 *.KC2 
*.KDC *.MDC *.MEF *.MOS *.MRW *.NEF *.NRW *.ORF *.PEF *.PXN *.QTK *.RAF 
*.RAW *.RDC *.RW2 *.RWL *.SR2 *.SRF *.SRW *.STI *.X3F "
digikam.geoiface: ----
digikam.general: d->image is NULL
digikam.general: d->image is NULL


That is not only for *.JPG, other formats (*.png for exemple) give the 
same message.

digikam was compiled under linux as follow :

cmake  -DCMAKE_INSTALL_PREFIX=/usr    \
        -DCMAKE_BUILD_TYPE=Release     \
        -DBUILD_TESTING=OFF            \
        -DENABLE_QWEBENGINE=ON         \
        -DENABLE_INTERNALMYSQL=OFF     \
-DImageMagick_Magick++_LIBRARY=/usr/lib/libMagick++-7.Q16HDRI.so \
        -Wno-dev

Resulting in the following :

-- The C compiler identification is GNU 9.2.0
-- The CXX compiler identification is GNU 9.2.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- 
----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam-software-collection
-- Looking for __GLIBC__
-- Looking for __GLIBC__ - found
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- Performing Test HAVE_DATE_TIME
-- Performing Test HAVE_DATE_TIME - Success
-- Main one documentation directory is missing. Compilation of 
documentation is disabled...
-- Documentation translations directory is missing.
-- You can use DIGIKAMSC_CHECKOUT_DOC option to extract doc i18n files 
from git repositories.
-- 
----------------------------------------------------------------------------------
-- Compilation configuration for: digikam-software-collection
-- digiKam core will be compiled.................. YES
-- Extract application translations files......... NO
-- Extract documentation translations files....... NO
-- Translations will be compiled.................. YES
-- Handbooks will be compiled..................... NO
-- Tests code will be compiled.................... NO
-- 
----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam
-- Found KF5XmlGui: /usr/lib/cmake/KF5XmlGui/KF5XmlGuiConfig.cmake 
(found version "5.68.0")
-- Found KF5CoreAddons: 
/usr/lib/cmake/KF5CoreAddons/KF5CoreAddonsConfig.cmake (found version 
"5.68.0")
-- Found KF5Config: /usr/lib/cmake/KF5Config/KF5ConfigConfig.cmake 
(found version "5.68.0")
-- Found KF5Service: /usr/lib/cmake/KF5Service/KF5ServiceConfig.cmake 
(found version "5.68.0")
-- Found KF5WindowSystem: 
/usr/lib/cmake/KF5WindowSystem/KF5WindowSystemConfig.cmake (found 
version "5.68.0")
-- Found KF5Solid: /usr/lib/cmake/KF5Solid/KF5SolidConfig.cmake (found 
version "5.68.0")
-- Found Gettext: /usr/bin/msgmerge (found version "0.19.8.1")
-- Found KF5I18n: /usr/lib/cmake/KF5I18n/KF5I18nConfig.cmake (found 
version "5.68.0")
-- Found KF5: success (found suitable version "5.68.0", minimum required 
is "5.1.0") found components: XmlGui CoreAddons Config Service 
WindowSystem Solid I18n
-- Found KF5KIO: /usr/lib/cmake/KF5KIO/KF5KIOConfig.cmake (found version 
"5.68.0")
-- Found KF5IconThemes: 
/usr/lib/cmake/KF5IconThemes/KF5IconThemesConfig.cmake (found version 
"5.68.0")
-- Found KF5FileMetaData: 
/usr/lib/cmake/KF5FileMetaData/KF5FileMetaDataConfig.cmake (found 
version "5.68.0")
-- Found KF5ThreadWeaver: 
/usr/lib/cmake/KF5ThreadWeaver/KF5ThreadWeaverConfig.cmake (found 
version "5.68.0")
-- Found KF5NotifyConfig: 
/usr/lib/cmake/KF5NotifyConfig/KF5NotifyConfigConfig.cmake (found 
version "5.68.0")
-- Found KF5Notifications: 
/usr/lib/cmake/KF5Notifications/KF5NotificationsConfig.cmake (found 
version "5.68.0")
-- Found KF5AkonadiContact: 
/usr/lib/cmake/KF5AkonadiContact/KF5AkonadiContactConfig.cmake (found 
version "5.13.3")
-- Found KF5Sane: /usr/lib/cmake/KF5Sane/KF5SaneConfig.cmake (found 
version "5.55.0")
-- Could NOT find KF5Vkontakte: found neither KF5VkontakteConfig.cmake 
nor kf5vkontakte-config.cmake
-- Found KF5CalendarCore: 
/usr/lib/cmake/KF5CalendarCore/KF5CalendarCoreConfig.cmake (found 
version "5.68.0")
-- KF5::KIOWidgets include dirs: 
/usr/include/KF5/KIOWidgets;/usr/include/KF5
-- Found JPEG: /usr/lib/libjpeg.so (found version "62")
-- Libjpeg version: 62
-- Using libjpeg sub-directory: libjpeg/62
-- Found TIFF: /usr/lib/libtiff.so (found version "4.0.10")
-- Found ZLIB: /usr/lib/libz.so (found version "1.2.11")
-- Found PNG: /usr/lib/libpng.so (found version "1.6.35")
-- Found Boost: /usr/include (found version "1.68.0")
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2")
-- Checking for module 'lcms2'
--   Found lcms2, version 2.9
-- Found lcms version 2.09, /usr/lib/liblcms2.so
-- Found EXPAT: /usr/lib/libexpat.so (found version "2.2.6")
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Checking for module 'x265'
--   Found x265, version 2.8
-- Found X265: /usr/include
-- Checking for module 'libavcodec'
--   Found libavcodec, version 58.18.100
-- Checking for module 'libavfilter'
--   Found libavfilter, version 7.16.100
-- Checking for module 'libavformat'
--   Found libavformat, version 58.12.100
-- Checking for module 'libavdevice'
--   Found libavdevice, version 58.3.100
-- Checking for module 'libavutil'
--   Found libavutil, version 56.14.100
-- Checking for module 'libswscale'
--   Found libswscale, version 5.1.100
-- Checking for module 'libpostproc'
--   Found libpostproc, version 55.1.100
-- Found FFmpeg: 
/usr/lib/libavcodec.so;/usr/lib/libavfilter.so;/usr/lib/libavformat.so;/usr/lib/libavutil.so;/usr/lib/libswscale.so 

-- FFMPEG_FOUND        = TRUE
-- FFMPEG_INCLUDE_DIRS = /usr/include
-- FFMPEG_LIBRARIES    = 
/usr/lib/libavcodec.so;/usr/lib/libavfilter.so;/usr/lib/libavformat.so;/usr/lib/libavutil.so;/usr/lib/libswscale.so
-- FFMPEG_DEFINITIONS  =
-- QtAV search path: /opt/qt5/lib/cmake
-- Could NOT find QtAV (missing: QTAV_LIBRARIES QTAV_INCLUDE_DIRS)
-- QtAV_FOUND       = FALSE
-- QtAV_INCLUDE_DIR = QTAV_CORE_INCLUDE_DIR-NOTFOUND 
QTAV_WIDGETS_INCLUDE_DIR-NOTFOUND
-- QtAV_LIBRARIES   = 
QTAV_CORE_LIBRARY-NOTFOUND;QTAV_WIDGETS_LIBRARY-NOTFOUND
-- QtAV_VERSION     =
-- Found OpenCV: /usr (found version "3.4.7") found components: core 
objdetect imgproc imgcodecs
-- OpenCV Root directory is: /usr/share/OpenCV
-- OpenCV: Found version 3.4.7 (required: 3.1.0)
-- OpenCV headers: /usr/include;/usr/include/opencv
-- OpenCV libs   : 
opencv_core;opencv_objdetect;opencv_imgproc;opencv_imgcodecs
-- Found FLEX: /usr/bin/flex (found version "2.6.4")
-- Found BISON: /usr/bin/bison (found version "3.0.5")
-- Found LibXslt: /usr/lib/libxslt.so (found version "1.1.32")
-- Found LibXml2: /usr/lib/libxml2.so (found version "2.9.10")
-- Found Marble: /usr/include
-- Marble_FOUND       = TRUE
-- MARBLE_INCLUDE_DIR = /usr/include
-- MARBLE_LIBRARIES   = /usr/lib/libmarblewidget-qt5.so
-- ASTRO_LIBRARIES    = /usr/lib/libastro.so
-- Found Jasper: /usr/lib/libjasper.so (found version "2.0.14")
-- Could NOT find Eigen3 (missing: EIGEN3_INCLUDE_DIR EIGEN3_VERSION_OK) 
(Required is at least version "2.91.0")
-- Found OpenGL: /usr/lib/libOpenGL.so
-- FIND IMAGEMAGICK API Magick++
-- -DMAGICKCORE_HDRI_ENABLE=1
-- -DMAGICKCORE_QUANTUM_DEPTH=16
-- FIND IMAGEMAGICK API MagickCore
-- -DMAGICKCORE_HDRI_ENABLE=1
-- -DMAGICKCORE_QUANTUM_DEPTH=16
-- Found ImageMagick: /usr/lib/libMagick++-7.Q16HDRI.so (found version 
"7.0.9-23")
-- ImageMagick_FOUND:                      TRUE
-- ImageMagick_VERSION_STRING:             7.0.9-23
-- ImageMagick_EXECUTABLE_DIR:             /usr/bin
-- ImageMagick_INCLUDE_DIRS: /usr/include/ImageMagick-7
-- ImageMagick_LIBRARIES: 
/usr/lib/libMagick++-7.Q16HDRI.so;/usr/lib/libMagickCore-6.Q16HDRI.so
-- ImageMagick_DEFINITIONS: 
-DMAGICKCORE_HDRI_ENABLE=1;-DMAGICKCORE_QUANTUM_DEPTH=16
-- ImageMagick_Magick++_INCLUDE_DIRS:    /usr/include/ImageMagick-7
-- ImageMagick_Magick++_LIBRARY: /usr/lib/libMagick++-7.Q16HDRI.so
-- ImageMagick_Magick++_DEFINITIONS: 
-DMAGICKCORE_HDRI_ENABLE=1;-DMAGICKCORE_QUANTUM_DEPTH=16
-- ImageMagick_MagickCore_INCLUDE_DIRS: /usr/include/ImageMagick-7
-- ImageMagick_MagickCore_LIBRARY: /usr/lib/libMagickCore-6.Q16HDRI.so
-- ImageMagick_MagickCore_DEFINITIONS: 
-DMAGICKCORE_HDRI_ENABLE=1;-DMAGICKCORE_QUANTUM_DEPTH=16
-- Found X11: /usr/include
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so - 
found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Checking for module 'lqr-1'
--   No package 'lqr-1' found
-- Could NOT find Lqr-1 (missing: LQR-1_INCLUDE_DIRS LQR-1_LIBRARIES)
-- Could NOT find Gphoto2 (missing: GPHOTO2_LIBRARY GPHOTO2_INCLUDE_DIRS)
-- libgphoto2 found    : FALSE
-- libgphoto2 version  :
-- libgphoto2 includes : GPHOTO2_INCLUDE_DIRS-NOTFOUND
-- libgphoto2 libraries:
-- Checking for module 'lensfun'
--   Found lensfun, version 0.3.95.0
-- Found LensFun: /usr/include/lensfun (found version "0.3.95.0")
-- liblensfun: Found version 0.3.95.0 (required: 0.2.6.0)
-- 
-- --------------------------------------------------
-- digiKam RawEngine dependencies checks:
-- 
-- Looking for OpenMP
-- Found OpenMP_C: -fopenmp (found version "4.5")
-- Found OpenMP_CXX: -fopenmp (found version "4.5")
-- Found OpenMP: TRUE (found version "4.5")
-- OpenMP found with CXX flags: -fopenmp
-- RawEngine will be compiled with OpenMP support
-- RawEngine will be compiled with RedCine codec
-- Looking for LibJpeg
-- RawEngine will not be compiled with DNG lossy codec
-- Looking for PThreads
-- --------------------------------------------------
-- 
-- 
-- 
----------------------------------------------------------------------------------
--  digiKam 6.4.0 dependencies results <https://www.digikam.org>
-- 
--  MySQL Database Support will be compiled.. YES (optional)
--  MySQL Internal Support will be compiled.. NO  (optional)
--  DBUS Support will be compiled............ YES (optional)
--  App. Style Support will be compiled...... NO  (optional)
--  QWebEngine Support will be compiled...... YES (optional)
--  FacesEngine DNN Support will be compiled. YES (optional)
--  libboostgraph found...................... YES
--  libexiv2 found........................... YES
--  libexpat found........................... YES
--  libjpeg found............................ YES
--  libkde found............................. YES
--  liblcms found............................ YES
--  libopencv found.......................... YES
--  libpng found............................. YES
--  libpthread found......................... YES
--  libqt found.............................. YES
--  libtiff found............................ YES
--  bison found.............................. YES (optional)
--  doxygen found............................ NO  (optional)
--  digiKam will be compiled without API documentation building support.
--  Please install the doxygen (version >= 1.8.0) development package.
-- 
--  flex found............................... YES (optional)
--  libakonadicontact found.................. YES (optional)
--  libmagick++ found........................ YES (optional)
--  libeigen3 found.......................... NO  (optional)
--  digiKam will be compiled without Refocus tool support.
--  Please install the libeigen3 (version >= 3.0.0) development package.
-- 
--  libgphoto2 found......................... NO  (optional)
--  digiKam will be compiled without GPhoto2 camera drivers support.
--  Please install the libgphoto2 (version >= 2.4.0) development package.
-- 
--  libjasper found.......................... YES (optional)
--  libkcalendarcore found................... YES (optional)
--  libkvkontakte found...................... NO  (optional)
--  digiKam will be compiled without libkvkontakte support.
--  Please install the libkvkontakte (version >= 4.70.0) development 
package.
-- 
--  libkfilemetadata found................... YES (optional)
--  libkiconthemes found..................... YES (optional)
--  libkio found............................. YES (optional)
--  libknotifications found.................. YES (optional)
--  libknotifyconfig found................... YES (optional)
--  libksane found........................... YES (optional)
--  liblensfun found......................... YES (optional)
--  liblqr-1 found........................... NO  (optional)
--  digiKam will be compiled without Contents Aware Resizer tool support.
--  Please install the liblqr-1 (version >= 0.4.1) development package.
-- 
--  libmarble found.......................... YES (optional)
--  libqtav found............................ NO  (optional)
--  digiKam will be compiled without Media Player support.
--  Please install the libqtav (version >= 1.12.0) development package.
-- 
--  libthreadweaver found.................... YES (optional)
--  libxml2 found............................ YES (optional)
--  libxslt found............................ YES (optional)
--  libx265 found............................ YES (optional)
--  OpenGL found............................. YES (optional)
--  digiKam can be compiled.................. YES
-- 
----------------------------------------------------------------------------------
-- 
-- Remove GCC compiler option -pedantic from /home/lfs/digikam-6.4.0/core
-- Remove GCC compiler option -Wdate-time from /home/lfs/digikam-6.4.0/core
-- Remove GCC compiler option -Wsuggest-override from 
/home/lfs/digikam-6.4.0/core
-- Remove GCC compiler option -Wzero-as-null-pointer-constant from 
/home/lfs/digikam-6.4.0/core
-- Disable GCC compiler option -Wno-deprecated-copy from 
/home/lfs/digikam-6.4.0/core
-- Check if the system is big endian
-- Searching 16 bit integer
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Using unsigned short
-- Check if the system is big endian - little endian
-- Disable GCC compiler option -Wno-deprecated from 
/home/lfs/digikam-6.4.0/core/libs/metadataengine
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
-- Remove GCC compiler option -Wextra from 
/home/lfs/digikam-6.4.0/core/libs/facesengine
-- Remove GCC compiler option -Wundef from 
/home/lfs/digikam-6.4.0/core/libs/facesengine
-- Remove GCC compiler option -Wall from 
/home/lfs/digikam-6.4.0/core/libs/facesengine
-- Remove GCC compiler option -Wcast-align from 
/home/lfs/digikam-6.4.0/core/libs/pgfutils
-- Remove GCC compiler option -Wzero-as-null-pointer-constant from 
/home/lfs/digikam-6.4.0/core/libs/pgfutils
-- Remove GCC compiler option -pedantic from 
/home/lfs/digikam-6.4.0/core/libs/dplugins/webservices
-- Remove GCC compiler option -Wundef from 
/home/lfs/digikam-6.4.0/core/libs/rawengine
-- Remove GCC compiler option -Werror=return-type from 
/home/lfs/digikam-6.4.0/core/libs/rawengine
-- Looking for posix_memalign
-- Looking for posix_memalign - found
-- Looking for malloc.h
-- Looking for malloc.h - found
-- Looking for stdbool.h
-- Looking for stdbool.h - found
-- Looking for inttypes.h
-- Looking for inttypes.h - found
-- Looking for strings.h
-- Looking for strings.h - found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Configuring done
-- Generating done
-- Build files have been written to: /home/lfs/digikam-6.4.0/build

Thank for your help.

Alain





More information about the Digikam-users mailing list