Summary: | When using raw import tool, showfoto cannot export the processed image | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | RGBl <rgbl> |
Component: | Showfoto-RawProcessing | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | caulier.gilles |
Priority: | NOR | ||
Version: | 1.3.0 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 1.4.0 | |
Sentry Crash Report: | |||
Attachments: |
Konsole output when trying to export the raw image
Showfoto with debug packages and kdebugdialog running Screenshot with error message |
Description
RGBl
2010-06-27 10:44:54 UTC
I use eveyday Raw import tool, and i never seen this problem. Can you trace all debug statements from the console ? Gilles Caulier Created attachment 48390 [details]
Konsole output when trying to export the raw image
I launched showfoto from konsole with
showfoto file_name.nef
and without doing anything to the image I tried to export the raw image as png, obtaining the error message. In the attachment you can find the output.
There is nothing to see in your trace. Do you tried to export to TIFF or JPEG. It work ? Which libpng version you use ? Go to Help/Components Info for details. Do you have more than one libpng on your computer ? Gilles Caulier I forgot to mention. When the "save as" fails, an empty file is created in the image folder with a name similar to dC5529.digikamtempfile.tmp The folder is on my home directory so there is no permission problems, there are no accented characters on the path... nothing strange. I also deleted showfoto config file and started from zero, without changes. Yes, I tried jpeg and tiff with same results. Libpng is 1.2.39 Ah. This point is important. This problem is not linked to libpng. It's temp dir/file creation problem. Now run kdebugdialog and turn on all digiKam and Showfoto area to see all debugs statement in the console. Restart showfoto, and give me the trace. Gilles Created attachment 48398 [details]
Showfoto with debug packages and kdebugdialog running
I installed the debug packages for digikam (debuginfo and debugsource), run kdegubdialog and then run showfoto the same way as before.
Something I just noticed is that when I press the "save" button, the only line added to konsole output is
QImage::scaled: Image is a null image
Sound like you have a 64 bits system. Right ? Gilles Can you please attach the raw photo you are using to the bug, or if it is too big, upload it somewhere one a file sharing service. This happens with every nef file, so I'll share a not-so-good shot... XD http://www.mediafire.com/?ziqtyvajwln Ops! I did not see your previous question... Yes, I'm on a 64 bis system Gilles, for me this works without a problem on 64 bits. Created attachment 48511 [details]
Screenshot with error message
This is a screenshot showing the error message.
Before to save item, you need to press "Import" button on right bottom sidebar. Gilles Note : it's abnormal to see all menu item enabled when Raw Import Tool is loaded. This is only reproducible with showfoto, not digiKam image editor. It's relevant to all toggleActions(true) in showfoto.cpp. This behavior is valid if you load an image directly, without to pass by a tool as raw import. I will fix it. Gilles Caulier Thanks for the clarifications, now I understand how this work. But I must say that the "Import button" is somewhat misleading: I'm SEEING the image inside ShowFoto, and the changes I make are applied to the preview when I click "Update": as a new user, how can I guess I need to import the image AGAIN? I considered the "Import button" as something I should explore once the "Save as" problem was solved... Also, the error message was not very helpful. But well, now it is working! Thanks for the patience and sorry for not exploring deep enough before submitting the bug report. SVN commit 1145258 by cgilles: Handle menu actions properly in showfoto when an image is loaded, particuliary when Raw Import tool is used. BUGS: 242937 M +12 -7 showfoto/showfoto.cpp M +4 -3 showfoto/showfoto.h M +1 -1 utilities/imageeditor/editor/editorwindow.h WebSVN link: http://websvn.kde.org/?view=rev&revision=1145258 |