Digikam editor (ShowPhoto) don't let me save in PNG format. It give me an error window saying is not able to save the image. After a lot of headaches thinking problem was related with permissions, I discover that changing my default format to other than PNG, I got to save my photos or export them. Reproducible: Always Steps to Reproduce: 1.Choose PNG as default image format to save in Digikam configuration 2.Select a photo in Digikam and press F4 3.Do some change to the photo 4.Save as new version or export to PNG format Actual Results: Digikam show a window, saying is not able to save your image to "path .... name". Expected Results: Save image in PNG format. This same issue appears as fixed in version 1.6.0
Not reproducible here with 4.1.0 FileSaveas, select PNG in combobox, filename extension is changed automatically. Validate dialog, and all work fine... run digiKam through a console following instructions from "For hangs out or dysfunctions" section, to see debug traces : http://www.digikam.org/contrib Gilles Caulier
I dont know if this is sufficiente for you ... (extract from gdb on PNG error when saving). I must be clear that there is no crash, only an window telling can't save to PNG. [Thread 0x7fff3dffb700 (LWP 8364) exited] [New Thread 0x7fff3dffb700 (LWP 8395)] [New Thread 0x7fff717fa700 (LWP 8396)] libpng error: known incorrect sRGB profile digikam(8312)/digikam (core) Digikam::EditorCore::slotImageSaved: error saving image ' /home/rafael/smb4k/ZUJAR/apnt/Luz/comun/Recursos_para_Desarrollo/Imagenes_Repositorio_Dlocal/FOTOS/Azuaga (conjunto y parroquia)/EditorWindow-HO8312.digikamtempfile.PNG
It sound like editor cannot complete saving on temporary file during save image operation. This file system is a shared samba FS. Can you try a local mounted FS to see if it's reproducible too ? Gilles Caulier
No. Unluckily is not FS related. Same problem working with local files. :(
I must remember that there is no problem with JP2, TIFF or JPG formats.
Oh, i have not read the previous trace correctly : ==> libpng error: known incorrect sRGB profile Your ICC color profile assigned to the image is not accepted by libpng used in background to process PNG IO. Sound like a bug in libpng... Gilles Caulier
But I can't understand why. I think (I cant test it now) that I can save with that ICC profile from GIMP and Krita to PNG. I'll let you know tomorrow about that point. Thank you 2014-06-17 11:09 GMT+02:00 Gilles Caulier <caulier.gilles@gmail.com>: > https://bugs.kde.org/show_bug.cgi?id=336172 > > --- Comment #6 from Gilles Caulier <caulier.gilles@gmail.com> --- > Oh, i have not read the previous trace correctly : > > ==> libpng error: known incorrect sRGB profile > > Your ICC color profile assigned to the image is not accepted by libpng > used in > background to process PNG IO. > > Sound like a bug in libpng... > > Gilles Caulier > > -- > You are receiving this mail because: > You are on the CC list for the bug. > You reported the bug. >
Well, I tried to save PNG file from Krita with embedded sRGB profile ... and it failed!!!. If I choose in the PNG save dialog window to not embed the sRGB profile, all its fine. So I must find out now what it is failing here. : ( Thank you for your deduction, Gilles
It's not a Digikam related issue.
Unable to export to .png - libpng error: known incorrect sRGB profile https://bugzilla.gnome.org/show_bug.cgi?id=721135