GNOME Bugzilla – Bug 491193
Importf fails for images converted to PNG with digiKam
Last modified: 2007-11-22 16:59:40 UTC
Please describe the problem: When importing image fies, converted to .png with digiKam (0.9.2), an Exception is rised, complaining about "Invalid PNG magic number" Steps to reproduce: 1. Convert an image to .png with digiKam 2. Try to import the image to F-Spot 3. Actual results: An error pops-up Expected results: The image should be imported to the photos collection. Does this happen every time? Yes Other information: THe terminal output for each image import is like this one: item ImportCommand+SourceItem Scanning /Elmo/Pictures/Photo Albums/15.10.2007 Svet RD Scanning /Elmo/Pictures/Photo Albums/15.10.2007 Svet RD/101MSDCF item changed open uri = file:///Elmo/Pictures/Photo Albums/15.10.2007 Svet RD/DSCF1056.png Error importing /Elmo/Pictures/Photo Albums/15.10.2007 Svet RD/DSCF1056.png System.Exception: Invalid PNG magic number at FSpot.Png.PngFile+PngHeader..ctor (System.IO.Stream stream) [0x00000] at FSpot.Png.PngFile.get_Header () [0x00000] at FSpot.Png.PngFile.get_Chunks () [0x00000] at FSpot.Png.PngFile.get_Date () [0x00000] at FileImportBackend.ChooseLocation (System.String path, System.Collections.Stack created_directories) [0x00000] at FileImportBackend.Step (.Photo& photo, Gdk.Pixbuf& thumbnail, System.Int32& count) [0x00000] Could not import file
Can you provide one of those failing pictures? thanks
I've exported a picture to png using digikam, and I could import it in f-spot without problems. That error shows up when a !png image is imported with png extension. Since no information has been provided, I believe this was the error you experienced. To check if the file was really a png, issue $ file /Elmo/Pictures/Photo Albums/15.10.2007 Svet RD/DSCF1056.png Reopen in case.... *** This bug has been marked as a duplicate of 326411 ***