[digiKam-users] refreshing folders doesn't work (dk 6.0.0)

Maik Qualmann metzpinguin at gmail.com
Thu Feb 21 20:19:51 GMT 2019


The PNG file is broken and can not be loaded by any image loader.

> libpng warning: iCCP: profile 'ICC PROFILE': 40ECB7F6h: exceeds
> application limits
> libpng warning: iCCP: CRC error

This problem comes from a buggy version of Exiv2-0.26 / 0.27. The problem will 
not be resolved until Exiv2 > 0.27. This also affects Darktable when you write 
metadata in PNG files. At the moment I am considering to handle digiKam PNG 
files like RAW files. At the moment I can only advise against writing metadata 
in PNG files. The ICC profile can be destroyed if the profile name is 
different from the standard.

https://bugs.kde.org/show_bug.cgi?id=401970
https://github.com/Exiv2/exiv2/issues/597

> libpng error: IDAT: CRC error
> digikam.dimg.png: Internal libPNG error during reading file. Process

Here libpng giving up. The problem could have been caused by the previous 
error.

Maik

Am Donnerstag, 21. Februar 2019, 20:48:22 CET schrieb Uwe Haider:
> Here is the output from the console:
> 
> 
> digikam.dimg:
> "/home/uhai/NAS/Fotos/2018/2018-04-06/2018-04-06_07-00-43_v1.PNG"  : PNG
> file identified
> libpng warning: iCCP: profile 'ICC PROFILE': 40ECB7F6h: exceeds
> application limits
> libpng warning: iCCP: CRC error
> KMemoryInfo: Platform identified :  "LINUX"
> KMemoryInfo: AvailableRam:  27631796224  (cache:  2551300096 )
> KMemoryInfo: AvailableSwap:  536866816
> libpng error: IDAT: CRC error
> digikam.dimg.png: Internal libPNG error during reading file. Process
> aborted!
> digikam.dimg:
> "/home/uhai/NAS/Fotos/2018/2018-04-06/2018-04-06_07-00-43_v1.PNG"  :
> QIMAGE file identified
> libpng warning: iCCP: profile 'ICC PROFILE': 40ECB7F6h: exceeds
> application limits
> libpng warning: iCCP: CRC error
> libpng error: IDAT: CRC error
> digikam.dimg.qimage: Can not load "
> "/home/uhai/NAS/Fotos/2018/2018-04-06/2018-04-06_07-00-43_v1.PNG" "
> using DImg::QImageLoader!
> digikam.general: Trying to load Embedded preview with libraw
> digikam.rawengine: Failed to load embedded RAW preview
> digikam.general: Trying to load half preview with libraw
> digikam.general: Trying to load Embedded preview with Exiv2
> digikam.general: mimetype =  "PNG"  ext =  "PNG"
> digikam.general: Cannot load video preview for
> "/home/uhai/NAS/Fotos/2018/2018-04-06/2018-04-06_07-00-43_v1.PNG"
> digikam.general: Video support is not available
> digikam.general: Cannot create thumbnail for
> "/home/uhai/NAS/Fotos/2018/2018-04-06/2018-04-06_07-00-43_v1.PNG"
> digikam.general: Thumbnail is null for
> "/home/uhai/NAS/Fotos/2018/2018-04-06/2018-04-06_07-00-43_v1.PNG"
> digikam.dimg:
> "/home/uhai/NAS/Fotos/2018/2018-04-06/2018-04-06_07-00-43_v1.PNG"  : PNG
> file identified
> libpng warning: iCCP: profile 'ICC PROFILE': 40ECB7F6h: exceeds
> application limits
> libpng warning: iCCP: CRC error
> KMemoryInfo: Platform identified :  "LINUX"
> KMemoryInfo: AvailableRam:  27630780416  (cache:  2551300096 )
> KMemoryInfo: AvailableSwap:  536866816
> libpng error: IDAT: CRC error
> digikam.dimg.png: Internal libPNG error during reading file. Process
> aborted!
> digikam.dimg:
> "/home/uhai/NAS/Fotos/2018/2018-04-06/2018-04-06_07-00-43_v1.PNG"  :
> QIMAGE file identified
> libpng warning: iCCP: profile 'ICC PROFILE': 40ECB7F6h: exceeds
> application limits
> libpng warning: iCCP: CRC error
> libpng error: IDAT: CRC error
> digikam.dimg.qimage: Can not load "
> "/home/uhai/NAS/Fotos/2018/2018-04-06/2018-04-06_07-00-43_v1.PNG" "
> using DImg::QImageLoader!
> digikam.general: Trying to load Embedded preview with libraw
> digikam.rawengine: Failed to load embedded RAW preview
> digikam.general: Trying to load half preview with libraw
> digikam.general: Trying to load Embedded preview with Exiv2
> digikam.general: mimetype =  "PNG"  ext =  "PNG"
> digikam.general: Cannot load video preview for
> "/home/uhai/NAS/Fotos/2018/2018-04-06/2018-04-06_07-00-43_v1.PNG"
> digikam.general: Video support is not available
> digikam.general: Cannot create thumbnail for
> "/home/uhai/NAS/Fotos/2018/2018-04-06/2018-04-06_07-00-43_v1.PNG"
> digikam.general: Thumbnail is null for
> "/home/uhai/NAS/Fotos/2018/2018-04-06/2018-04-06_07-00-43_v1.PNG"
> digikam.dimg:
> "/home/uhai/NAS/Fotos/2018/2018-04-06/2018-04-06_07-00-43_v1.PNG"  : PNG
> file identified
> libpng warning: iCCP: profile 'ICC PROFILE': 40ECB7F6h: exceeds
> application limits
> libpng warning: iCCP: CRC error
> KMemoryInfo: Platform identified :  "LINUX"
> KMemoryInfo: AvailableRam:  27630018560  (cache:  2551300096 )
> KMemoryInfo: AvailableSwap:  536866816
> libpng error: IDAT: CRC error
> digikam.dimg.png: Internal libPNG error during reading file. Process
> aborted!
> digikam.dimg:
> "/home/uhai/NAS/Fotos/2018/2018-04-06/2018-04-06_07-00-43_v1.PNG"  :
> QIMAGE file identified
> libpng warning: iCCP: profile 'ICC PROFILE': 40ECB7F6h: exceeds
> application limits
> libpng warning: iCCP: CRC error
> libpng error: IDAT: CRC error
> digikam.dimg.qimage: Can not load "
> "/home/uhai/NAS/Fotos/2018/2018-04-06/2018-04-06_07-00-43_v1.PNG" "
> using DImg::QImageLoader!
> digikam.general: Trying to load Embedded preview with libraw
> digikam.rawengine: Failed to load embedded RAW preview
> digikam.general: Trying to load half preview with libraw
> digikam.general: Trying to load Embedded preview with Exiv2
> digikam.general: mimetype =  "PNG"  ext =  "PNG"
> digikam.general: Cannot load video preview for
> "/home/uhai/NAS/Fotos/2018/2018-04-06/2018-04-06_07-00-43_v1.PNG"
> digikam.general: Video support is not available
> digikam.general: Cannot create thumbnail for
> "/home/uhai/NAS/Fotos/2018/2018-04-06/2018-04-06_07-00-43_v1.PNG"
> digikam.general: Thumbnail is null for
> "/home/uhai/NAS/Fotos/2018/2018-04-06/2018-04-06_07-00-43_v1.PNG"
> digikam.dimg:
> "/home/uhai/NAS/Fotos/2018/2018-04-06/2018-04-06_07-00-43_v1.PNG"  : PNG
> file identified
> libpng warning: iCCP: profile 'ICC PROFILE': 40ECB7F6h: exceeds
> application limits
> libpng warning: iCCP: CRC error
> KMemoryInfo: Platform identified :  "LINUX"
> KMemoryInfo: AvailableRam:  27629383680  (cache:  2551300096 )
> KMemoryInfo: AvailableSwap:  536866816
> libpng error: IDAT: CRC error
> digikam.dimg.png: Internal libPNG error during reading file. Process
> aborted!
> digikam.dimg:
> "/home/uhai/NAS/Fotos/2018/2018-04-06/2018-04-06_07-00-43_v1.PNG"  :
> QIMAGE file identified
> libpng warning: iCCP: profile 'ICC PROFILE': 40ECB7F6h: exceeds
> application limits
> libpng warning: iCCP: CRC error
> libpng error: IDAT: CRC error
> digikam.dimg.qimage: Can not load "
> "/home/uhai/NAS/Fotos/2018/2018-04-06/2018-04-06_07-00-43_v1.PNG" "
> using DImg::QImageLoader!
> digikam.general: Trying to load Embedded preview with libraw
> digikam.rawengine: Failed to load embedded RAW preview
> digikam.general: Trying to load half preview with libraw
> digikam.general: Trying to load Embedded preview with Exiv2
> digikam.general: mimetype =  "PNG"  ext =  "PNG"
> digikam.general: Cannot load video preview for
> "/home/uhai/NAS/Fotos/2018/2018-04-06/2018-04-06_07-00-43_v1.PNG"
> digikam.general: Video support is not available
> digikam.general: Cannot create thumbnail for
> "/home/uhai/NAS/Fotos/2018/2018-04-06/2018-04-06_07-00-43_v1.PNG"
> digikam.general: Thumbnail is null for
> "/home/uhai/NAS/Fotos/2018/2018-04-06/2018-04-06_07-00-43_v1.PNG"
> digikam.dimg:
> "/home/uhai/NAS/Fotos/2018/2018-04-06/2018-04-06_07-00-43_v1.PNG"  : PNG
> file identified
> libpng warning: iCCP: profile 'ICC PROFILE': 40ECB7F6h: exceeds
> application limits
> libpng warning: iCCP: CRC error
> KMemoryInfo: Platform identified :  "LINUX"
> KMemoryInfo: AvailableRam:  27629383680  (cache:  2551300096 )
> KMemoryInfo: AvailableSwap:  536866816
> libpng error: IDAT: CRC error
> digikam.dimg.png: Internal libPNG error during reading file. Process
> aborted!
> digikam.dimg:
> "/home/uhai/NAS/Fotos/2018/2018-04-06/2018-04-06_07-00-43_v1.PNG"  :
> QIMAGE file identified
> libpng warning: iCCP: profile 'ICC PROFILE': 40ECB7F6h: exceeds
> application limits
> libpng warning: iCCP: CRC error
> libpng error: IDAT: CRC error
> digikam.dimg.qimage: Can not load "
> "/home/uhai/NAS/Fotos/2018/2018-04-06/2018-04-06_07-00-43_v1.PNG" "
> using DImg::QImageLoader!
> digikam.general: Trying to load Embedded preview with libraw
> digikam.rawengine: Failed to load embedded RAW preview
> digikam.general: Trying to load half preview with libraw
> digikam.general: Trying to load Embedded preview with Exiv2
> digikam.general: mimetype =  "PNG"  ext =  "PNG"
> digikam.general: Cannot load video preview for
> "/home/uhai/NAS/Fotos/2018/2018-04-06/2018-04-06_07-00-43_v1.PNG"
> digikam.general: Video support is not available
> digikam.general: Cannot create thumbnail for
> "/home/uhai/NAS/Fotos/2018/2018-04-06/2018-04-06_07-00-43_v1.PNG"
> digikam.general: Thumbnail is null for
> "/home/uhai/NAS/Fotos/2018/2018-04-06/2018-04-06_07-00-43_v1.PNG"
> digikam.dimg:
> "/home/uhai/NAS/Fotos/2018/2018-04-06/2018-04-06_07-00-43_v1.PNG"  : PNG
> file identified
> libpng warning: iCCP: profile 'ICC PROFILE': 40ECB7F6h: exceeds
> application limits
> libpng warning: iCCP: CRC error
> KMemoryInfo: Platform identified :  "LINUX"
> KMemoryInfo: AvailableRam:  27629383680  (cache:  2551300096 )
> KMemoryInfo: AvailableSwap:  536866816
> libpng error: IDAT: CRC error
> digikam.dimg.png: Internal libPNG error during reading file. Process
> aborted!
> digikam.dimg:
> "/home/uhai/NAS/Fotos/2018/2018-04-06/2018-04-06_07-00-43_v1.PNG"  :
> QIMAGE file identified
> libpng warning: iCCP: profile 'ICC PROFILE': 40ECB7F6h: exceeds
> application limits
> libpng warning: iCCP: CRC error
> libpng error: IDAT: CRC error
> digikam.dimg.qimage: Can not load "
> "/home/uhai/NAS/Fotos/2018/2018-04-06/2018-04-06_07-00-43_v1.PNG" "
> using DImg::QImageLoader!
> digikam.general: Trying to load Embedded preview with libraw
> digikam.rawengine: Failed to load embedded RAW preview
> digikam.general: Trying to load half preview with libraw
> digikam.general: Trying to load Embedded preview with Exiv2
> digikam.general: mimetype =  "PNG"  ext =  "PNG"
> digikam.general: Cannot load video preview for
> "/home/uhai/NAS/Fotos/2018/2018-04-06/2018-04-06_07-00-43_v1.PNG"
> digikam.general: Video support is not available
> digikam.general: Cannot create thumbnail for
> "/home/uhai/NAS/Fotos/2018/2018-04-06/2018-04-06_07-00-43_v1.PNG"
> digikam.general: Thumbnail is null for
> "/home/uhai/NAS/Fotos/2018/2018-04-06/2018-04-06_07-00-43_v1.PNG"
> 
> Seem to be a problem from libpng - what can I do to make it work?
> 
> Thanks for your help
> 
> Uwe
> 
> Am 21.02.19 um 08:56 schrieb Gilles Caulier:
> > Hi,
> > 
> > PNG file has no size limitation.
> > 
> > If you can share a sample through the cloud, we can investigate.
> > 
> > Showing console messages can help also.
> > 
> > Best
> > 
> > Gilles Caulier
> > 
> > Le jeu. 21 févr. 2019 à 06:49, Uwe Haider <uwe.haider at gmx.net> a écrit :
> >> Hi,
> >> 
> >> I do my raws with darktable and export the finished pictures as png back
> >> to the digikam folder with the raw. This worked all the time. Now I can
> >> refresh this folders in dk 6.0.0 but the new pngs exported from
> >> darktable seem not to be there. No one is shown...
> >> 
> >> QtPhoto shows this files.
> >> 
> >> Is there a size limit for pngs? The missing files are > 100 MB (no
> >> compression).
> >> 
> >> 
> >> --
> >> Uwe Haider
> >> uwe.haider at gmx.net
> >> 
> >> 
> >> 
> >> Hi,
> >> 
> >> PNG file has no size limitation.
> >> 
> >> If you can share a sample through the cloud, we can investigate.
> >> 
> >> Showing console messages can help also.
> >> 
> >> Best
> >> 
> >> Gilles Caulier
> >> 
> >> Le jeu. 21 févr. 2019 à 06:49, Uwe Haider <uwe.haider at gmx.net
> >> 
> >> <mailto:uwe.haider at gmx.net>> a écrit :
> >>     Hi,
> >>     
> >>     I do my raws with darktable and export the finished pictures as
> >>     png back
> >>     to the digikam folder with the raw. This worked all the time. Now
> >>     I can
> >>     refresh this folders in dk 6.0.0 but the new pngs exported from
> >>     darktable seem not to be there. No one is shown...
> >>     
> >>     QtPhoto shows this files.
> >>     
> >>     Is there a size limit for pngs? The missing files are > 100 MB (no
> >>     compression).







More information about the Digikam-users mailing list