[digikam] [Bug 468775] Import files - Preview not available
https://bugs.kde.org/show_bug.cgi?id=468775 --- Comment #14 from Nicofo --- (In reply to Maik Qualmann from comment #13) > The thumbnail from a GPhoto2 device is rendered/created by the phone/camera. > So if the phone/camera doesn't create a thumbnail (for some reason) for a > certain image/file type, digiKam won't be able to display anything. > > Maik So you think it's a GPhoto2 problem and not a digikam problem ? How could I check that ? Is is possible to use gphoto other that with digikam ? For info, nautilus (gnome file manager) displays the tumbnails of pictures from Android phone well (but I don't know if it uses Gphoto2 ?) -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 468775] Import files - Preview not available
https://bugs.kde.org/show_bug.cgi?id=468775 --- Comment #13 from Maik Qualmann --- The thumbnail from a GPhoto2 device is rendered/created by the phone/camera. So if the phone/camera doesn't create a thumbnail (for some reason) for a certain image/file type, digiKam won't be able to display anything. Maik -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 468775] Import files - Preview not available
https://bugs.kde.org/show_bug.cgi?id=468775 --- Comment #12 from Nicofo --- (In reply to Maik Qualmann from comment #11) > The cause is probably not the image itself. GPhoto2 has a problem with your > camera device/connection. Which camera model is it? This is an android phone (Motorola) > Note that digiKam requires an exclusive connection with GPhoto2 to your > camera. There are now background services on various desktops that display > the status of the camera in the system section of the taskbar. Some do not > release the connection again and digiKam cannot use the USB port via > GPhoto2. Yes, I have noticed that (i.e. if the Android Phone is mounted in file explorer (nautilus in Gnome), digikam cannot load the images. No problem after unmounting the Phone in nautilus). But I don't think this is the problem in my case because: - despite the fact the previews are missing, I can download the files without problem with digikam (and then the preview is OK in the album) - if I unplug / replug the phone and try to reopen the import window, it's always the same pictures whose preview is missing. So it sounds like it is well a problem with some images ? (unless these pictures are tagged as faulty in digikam DB and digikam does not try to display preview anymore ?) -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 468775] Import files - Preview not available
https://bugs.kde.org/show_bug.cgi?id=468775 --- Comment #11 from Maik Qualmann --- The cause is probably not the image itself. GPhoto2 has a problem with your camera device/connection. Which camera model is it? Note that digiKam requires an exclusive connection with GPhoto2 to your camera. There are now background services on various desktops that display the status of the camera in the system section of the taskbar. Some do not release the connection again and digiKam cannot use the USB port via GPhoto2. Then use a USB card reader or disable the corresponding background services on your desktop. Maik -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 468775] Import files - Preview not available
https://bugs.kde.org/show_bug.cgi?id=468775 --- Comment #10 from Nicofo --- Sorry, I forgot to enable debugging. Here are the outputs in the Import window: Digikam::GPCamera::getThumbnail: Failed to get camera item! "/store_00010001/DCIM/Camera" "IMG_20240510_101546784_HDR.jpg" Digikam::GPCamera::printGphotoErrorDescription: Libgphoto2 error: Unspecified error ( -1 ) Digikam::CameraController::sendLogMsg: Log ( "IMG_20240510_101546784_HDR.jpg" "/store_00010001/DCIM/Camera" : "Failed to get thumbnail for ‘IMG_20240510_101546784_HDR.jpg’" (appears for each picture without preview) Do you want me to send you one of these pictures ? -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 468775] Import files - Preview not available
https://bugs.kde.org/show_bug.cgi?id=468775 --- Comment #9 from Nicofo --- I tried with debug version (digiKam-8.4.0-20240512T090210-Qt6-x86-64-debug.appimage) I only have the following message when I click in "Import": Digikam::ExifToolParser::load: Cannot open source file to process with ExifTool... (2 of these lines are written each time I select a picture in the Import window, whatever if the preview is available or not) Note: same result with digikam 8.2.0 -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 468775] Import files - Preview not available
https://bugs.kde.org/show_bug.cgi?id=468775 --- Comment #8 from Nicofo --- (In reply to Maik Qualmann from comment #7) > There should be something in the debug output in the terminal if thumbnails > are not created for some images. A log would be interesting. Here is the output of digikam when I click on "Import" > (my Android phone) There are some errors... (this is not the debug version of digikam: tell me if I need to use it) Digikam::MetaEngine::Private::printExiv2ExceptionError: Cannot find Xmp key 'Exif.Image.FocalLength' into image with Exiv2: (Error # 7 : "Invalid key 'Exif.Image.FocalLength'" Digikam::MetaEngine::Private::printExiv2ExceptionError: Cannot find Exif key 'Xmp.exif.ISOSpeedRatings' into image with Exiv2: (Error # 7 : "Invalid key 'Xmp.exif.ISOSpeedRatings'" Digikam::MetaEngine::Private::printExiv2ExceptionError: Cannot find Exif key 'Xmp.exif.ExposureIndex' into image with Exiv2: (Error # 7 : "Invalid key 'Xmp.exif.ExposureIndex'" Digikam::MetaEngine::Private::printExiv2ExceptionError: Cannot set Exif data with Exiv2: (Error # 4 : "This does not look like a TIFF image" Digikam::MetaEngine::Private::printExiv2ExceptionError: Cannot find Xmp key 'Exif.Image.FocalLength' into image with Exiv2: (Error # 7 : "Invalid key 'Exif.Image.FocalLength'" Digikam::MetaEngine::Private::printExiv2ExceptionError: Cannot find Exif key 'Xmp.exif.ISOSpeedRatings' into image with Exiv2: (Error # 7 : "Invalid key 'Xmp.exif.ISOSpeedRatings'" Digikam::MetaEngine::Private::printExiv2ExceptionError: Cannot find Exif key 'Xmp.exif.ExposureIndex' into image with Exiv2: (Error # 7 : "Invalid key 'Xmp.exif.ExposureIndex'" Digikam::MetaEngine::Private::printExiv2ExceptionError: Cannot find Xmp key 'Exif.Image.FocalLength' into image with Exiv2: (Error # 7 : "Invalid key 'Exif.Image.FocalLength'" Digikam::MetaEngine::Private::printExiv2ExceptionError: Cannot find Exif key 'Xmp.exif.ISOSpeedRatings' into image with Exiv2: (Error # 7 : "Invalid key 'Xmp.exif.ISOSpeedRatings'" Digikam::MetaEngine::Private::printExiv2ExceptionError: Cannot find Exif key 'Xmp.exif.ExposureIndex' into image with Exiv2: (Error # 7 : "Invalid key 'Xmp.exif.ExposureIndex'" Digikam::MetaEngine::Private::printExiv2ExceptionError: Cannot find Xmp key 'Exif.Image.FocalLength' into image with Exiv2: (Error # 7 : "Invalid key 'Exif.Image.FocalLength'" Digikam::MetaEngine::Private::printExiv2ExceptionError: Cannot find Exif key 'Xmp.exif.ISOSpeedRatings' into image with Exiv2: (Error # 7 : "Invalid key 'Xmp.exif.ISOSpeedRatings'" Digikam::MetaEngine::Private::printExiv2ExceptionError: Cannot find Exif key 'Xmp.exif.ExposureIndex' into image with Exiv2: (Error # 7 : "Invalid key 'Xmp.exif.ExposureIndex'" Digikam::MetaEngine::Private::printExiv2ExceptionError: Cannot set Exif data with Exiv2: (Error # 4 : "This does not look like a TIFF image" Digikam::MetaEngine::Private::printExiv2ExceptionError: Cannot set Exif data with Exiv2: (Error # 4 : "This does not look like a TIFF image" Digikam::MetaEngine::Private::printExiv2ExceptionError: Cannot set Exif data with Exiv2: (Error # 4 : "This does not look like a TIFF image" Digikam::MetaEngine::Private::printExiv2ExceptionError: Cannot set Exif data with Exiv2: (Error # 4 : "This does not look like a TIFF image" Digikam::MetaEngine::Private::printExiv2ExceptionError: Cannot set Exif data with Exiv2: (Error # 4 : "This does not look like a TIFF image" Digikam::MetaEngine::Private::printExiv2ExceptionError: Cannot find Xmp key 'Exif.Image.FocalLength' into image with Exiv2: (Error # 7 : "Invalid key 'Exif.Image.FocalLength'" Digikam::MetaEngine::Private::printExiv2ExceptionError: Cannot find Exif key 'Xmp.exif.ISOSpeedRatings' into image with Exiv2: (Error # 7 : "Invalid key 'Xmp.exif.ISOSpeedRatings'" Digikam::MetaEngine::Private::printExiv2ExceptionError: Cannot find Exif key 'Xmp.exif.ExposureIndex' into image with Exiv2: (Error # 7 : "Invalid key 'Xmp.exif.ExposureIndex'" Digikam::MetaEngine::Private::printExiv2ExceptionError: Cannot set Exif data with Exiv2: (Error # 4 : "This does not look like a TIFF image" Digikam::MetaEngine::Private::printExiv2ExceptionError: Cannot set Exif data with Exiv2: (Error # 4 : "This does not look like a TIFF image" Digikam::MetaEngine::Private::printExiv2ExceptionError: Cannot set Exif data with Exiv2: (Error # 4 : "This does not look like a TIFF image" Digikam::MetaEngine::Private::printExiv2ExceptionError: Cannot set Exif data with Exiv2: (Error # 4 : "This does not look like a TIFF image" Digikam::MetaEngine::Private::printExiv2ExceptionError: Cannot set Exif data with Exiv2: (Error # 4 : "This does not look like a TIFF image" Digikam::MetaEngine::Private::printExiv2ExceptionError: Cannot set Exif data with Exiv2: (Error # 4 : "This does not look like a TIFF image" Digikam::MetaEngine::Private::printExiv2ExceptionError: Cannot set Exif data with Exiv2: (Error # 4 : "This does not look like a TIFF image" Dig
[digikam] [Bug 468775] Import files - Preview not available
https://bugs.kde.org/show_bug.cgi?id=468775 --- Comment #7 from Maik Qualmann --- There should be something in the debug output in the terminal if thumbnails are not created for some images. A log would be interesting. Regarding the creation date when metadata is deactivated, you cannot generally say that the creation and modification dates are different, that depends on many factors, e.g. camera model. Maik -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 468775] Import files - Preview not available
https://bugs.kde.org/show_bug.cgi?id=468775 --- Comment #6 from Nicofo --- (In reply to Maik Qualmann from comment #5) > No preview image, image broken? No: the image is not broken. And when downloaded, they are displayed correctly in digikam. > In order to get a correct creation date in the thumbnail, the metadata must > be read. To do this, the corresponding option must be activated in the > digiKam camera settings, with the addition "makes the connection slower". If > you click on an image, the “live” data will be displayed in the metadata > viewer. > As of digiKam-8.0.0, reading the exact metadata is no longer necessary; all > date operations are now carried out after the download. Yes you are right, I forgot to activate the option "Use file metedata (makes the connection slower)". So the date is correct with this option activated. But not correct with the option deactivated (possible to rename "Cretaed" into "Modified" in this case ?). -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 468775] Import files - Preview not available
https://bugs.kde.org/show_bug.cgi?id=468775 --- Comment #5 from Maik Qualmann --- No preview image, image broken? In order to get a correct creation date in the thumbnail, the metadata must be read. To do this, the corresponding option must be activated in the digiKam camera settings, with the addition "makes the connection slower". If you click on an image, the “live” data will be displayed in the metadata viewer. As of digiKam-8.0.0, reading the exact metadata is no longer necessary; all date operations are now carried out after the download. Maik -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 468775] Import files - Preview not available
https://bugs.kde.org/show_bug.cgi?id=468775 caulier.gil...@gmail.com changed: What|Removed |Added Version|8.0.0 |8.4.0 -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 468775] Import files - Preview not available
https://bugs.kde.org/show_bug.cgi?id=468775 --- Comment #4 from Nicofo --- Created attachment 168812 --> https://bugs.kde.org/attachment.cgi?id=168812&action=edit Missing preview of some pictures + wrong label "created" Hi Gilles, I tested with digiKam-8.4.0-20240421T172117-Qt6-x86-64.appimage: Following #comment 0 : 1) Preview mode not available: -> not working. But normal according to Maik's answer #comment 1 2) Thumbnails are not well rotated: -> is now working well, thanks ! But I have other problems (more or less related to original problem, so I keep it on this bug report. Tell me if you prefer a dedicated bug report) 3) Not all pictures have their preview visible: see attachment -> After scrolling up and down, the majority of the pictures have their preview appearing, but for a few of them, the preview never appears. This is really annoying because the preview button is not working and nothing happens when you click on the picture (see problem 1) -> it is hard to guess what is the picture. 4) The reported date (labelled "created" below the preview) seems to be the date of the file (last modification of the file on the camera), but not the creation date : see attachment -> so either rename "created" by "modified" -> or better correct it to be the real "created" date of the picture (info from the metadata). Use case: I want to sort the files according to the moment they were taken, not the date of modification. This is important in this window if you want to select all the pictures from a dedicated date. -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 468775] Import files - Preview not available
https://bugs.kde.org/show_bug.cgi?id=468775 --- Comment #3 from caulier.gil...@gmail.com --- Hi all, The digiKam 8.4.0 Appimage bundle pre-release is now based on last modern frameworks Qt 6.7.0 and KDE 6.2.0. File can be downloaded at usual place : https://files.kde.org/digikam/ Take a care : the bundle is named with the suffix "-Qt6" not "-Qt5". This bundle is compiled under Ubuntu 22.04 and require a Linux with GlibC version >= 2.35 to run. Can you reproduce the dysfonction with this version? Thanks in advance Gilles Caulier -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 468775] Import files - Preview not available
https://bugs.kde.org/show_bug.cgi?id=468775 caulier.gil...@gmail.com changed: What|Removed |Added CC||caulier.gil...@gmail.com Severity|wishlist|normal -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 468775] Import files - Preview not available
https://bugs.kde.org/show_bug.cgi?id=468775 --- Comment #2 from Maik Qualmann --- We already have a bug report on the subject of orientation. Yes, we don't read the orientations flag at the moment, because it would only be possible to rotate the image correctly with metadata. The metadata makes a GPhoto2 connection really slow and is also no longer needed in digiKam-8.0.0 for correct date folders and other things during import. Also, we only keep about 200 thumbnails in cache (the import thumbnails are not in the DB, only in RAM). So they are always reloaded when scrolling and would have to be rotated again each time. Maik -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 468775] Import files - Preview not available
https://bugs.kde.org/show_bug.cgi?id=468775 Maik Qualmann changed: What|Removed |Added CC||metzping...@gmail.com Severity|normal |wishlist --- Comment #1 from Maik Qualmann --- The preview function is currently intentionally not available with the GPhoto2 driver. Only with the UMS driver (USB, card reader). We would have to download each image temporarily, that wouldn't be very fast. Maik -- You are receiving this mail because: You are watching all bug changes.