SUMMARY digikam does not display a PNG photo STEPS TO REPRODUCE 1. with opencamera I take a PNG photo (portrait mode) 2. with digikam I import this photo 3. OBSERVED RESULT in digikam album photo preview is not displayed if i click on this photo then photo is not displayed EXPECTED RESULT in digikam album photo preview is displayed if i click on this photo then photo is displayed SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: openSuse Argon 15.1 (available in About System) KDE Plasma Version: 5.16.4 KDE Frameworks Version: 5.61.0 Qt Version: 5.13.0 ADDITIONAL INFORMATION kde apps 19.08.0 gwenview, okular display this photo showphoto does not display this photo
no problem to display a PNG photo in landscape mode !
Can you please provide a PNG sample that will not be displayed? If not public, to my email address. Maik
A little problem with the preview thumbnail of a landscape png photo: the preview is a movie preview thumbnail !
I guess you mean with "opencamera" the Android App. I have 2 PNG test images created and imported into digiKam. No problem to reproduce. So a test image is needed. What exactly, did you take a image or a video? Maik
yes opencamera android app. I send you a test image. For all PNG files I took a photo not a video.
The PNG image has clearly not been transmitted correctly and has a "libpng error: IDAT: CRC error". It concerns the last lines of the image. The fact that Gwenview reads it is because it uses the already read image data until the error occurs. We have already implemented this for JPG. I close this bug. You can open a new one with the wish also to read defective PNGs until the error. But the image will always be broken. Maik
ok so this is a kdeconnect transfer problem. i will try with bluetooth. thanks
Git commit 7bed01124efc4e37d18742d056817207d33cd20d by Maik Qualmann. Committed on 17/08/2019 at 14:21. Pushed by mqualmann into branch 'master'. add support for loading broken images to the PNG loader Related: bug 411013 FIXED-IN: 6.3.0 M +2 -1 NEWS M +55 -9 core/libs/dimg/loaders/pngloader.cpp https://invent.kde.org/kde/digikam/commit/7bed01124efc4e37d18742d056817207d33cd20d
Why do not you just transfer the photos via WLAN? I use the Wifi File Transfer (Pro) APP for that. Select and download in the desktop browser, easy and fast. Maik
(In reply to Maik Qualmann from comment #9) > Why do not you just transfer the photos via WLAN? I use the Wifi File > Transfer (Pro) APP for that. Select and download in the desktop browser, > easy and fast. > > Maik no corrupt photos via bluetooth (yes it is slow). i will try wifi file transfer app. it would be a good thing to get in digikam a checking to detect corrupt file and warning user when adding a photo in an album by any way (digikam import or dolphin copy-past to an album then launching digikam) thanks