[Bug 180065] New: digikam image download from memorycard problems

classic Classic list List threaded Threaded
37 messages Options
12
Reply | Threaded
Open this post in threaded view
|

[Bug 180065] digikam image download from memorycard problems

Gilles Caulier-4
http://bugs.kde.org/show_bug.cgi?id=180065


Gilles Caulier caulier gilles gmail com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]




--- Comment #19 from Gilles Caulier <caulier gilles gmail com>  2009-01-30 20:24:39 ---
Markus,

HAs you have a Sony camera and you shot ARW photo, can you reproduce the
problem ?

Gilles Caulier


--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 180065] digikam image download from memorycard problems

Bugzilla from simon@margo.student.utwente.nl
In reply to this post by Bugzilla from simon@margo.student.utwente.nl
http://bugs.kde.org/show_bug.cgi?id=180065





--- Comment #20 from simon margo student utwente nl  2009-01-30 20:47:13 ---
Yes Gilles, it is still valid after the upgrade, unless I did something wrong
;-)

I ran svn update of kdegraphics and rebuilt libkexiv2, installed them and then
started digikam. Or should I have updated digikam as well?

Cheers

Simon


--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 180065] digikam image download from memorycard problems

Markus Spring
In reply to this post by Bugzilla from simon@margo.student.utwente.nl
http://bugs.kde.org/show_bug.cgi?id=180065





--- Comment #21 from Markus Spring <m spring gmx de>  2009-01-30 21:04:46 ---
Just tried with 0.10.0rc2, SVN 883547 under Kubuntu Intrepid Ibex, KDE 4.1

Importing via digikam Sony .arw and .jpg files via a USB CF cardreader (vivanco
brand) imports all files without and corruption. jpg files display without
failures in digikam editor or gimp, arw files can be opened and converted in
bibble. Not a single hint of a problem here on my side.


--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 180065] digikam image download from memorycard problems

Gilles Caulier-4
In reply to this post by Bugzilla from simon@margo.student.utwente.nl
http://bugs.kde.org/show_bug.cgi?id=180065





--- Comment #22 from Gilles Caulier <caulier gilles gmail com>  2009-01-30 21:09:52 ---
In theory, yes, because binary compatibility is respected...

But to be sure, try to recompile and install digiKam.

Gilles


--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 180065] digikam image download from memorycard problems

Gilles Caulier-4
In reply to this post by Bugzilla from simon@margo.student.utwente.nl
http://bugs.kde.org/show_bug.cgi?id=180065





--- Comment #23 from Gilles Caulier <caulier gilles gmail com>  2009-01-30 21:12:26 ---
Markus,

Are you set the same downloading options than Simon ?

Gilles


--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 180065] digikam image download from memorycard problems

Markus Spring
In reply to this post by Bugzilla from simon@margo.student.utwente.nl
http://bugs.kde.org/show_bug.cgi?id=180065





--- Comment #24 from Markus Spring <m spring gmx de>  2009-01-30 21:41:56 ---
OK, my first test was with no changing options in the sidebar dialogue of the
download window active, i.e. no renumbering, no writing of photographers
identity etc. there were no corruptions visible.

A second test with active writing of a photographers identity during download,
set from the download window options dialog, indeed resulted in writing of the
raw and jpeg files. Now neither the jpg nor the raw files create thumbnails in
digikam, they are displayable outside of digikam in gimp (jpg) resp. bibble
(arw), but again the metadata of the arw files are corrupted and create
problems in bibble.

A cross-check showed that with this options "off", the files are imported again
without problems.

I guess its a problem in exiv2 (I am using 0.18pre2) and digikam - at least the
raw files should not be modified.


--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 180065] digikam image download from memorycard problems

Bugzilla from simon@margo.student.utwente.nl
In reply to this post by Bugzilla from simon@margo.student.utwente.nl
http://bugs.kde.org/show_bug.cgi?id=180065





--- Comment #25 from simon margo student utwente nl  2009-01-30 23:11:22 ---
I updated and recompiled/installed digikam svn, same problem and I see Markus
also confirmed this bug. Corrupted file when setting the option "Set default
photographer identity", no corruption when un-setting this option.

/Simon


--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 180065] digikam image download from memorycard problems

Bugzilla from simon@margo.student.utwente.nl
In reply to this post by Bugzilla from simon@margo.student.utwente.nl
http://bugs.kde.org/show_bug.cgi?id=180065





--- Comment #26 from simon margo student utwente nl  2009-01-31 10:13:35 ---
NB: the setting that affects my raw files is under "On the fly operations (JPG
only!)", which makes it harder to track down when it affects RAW files...


--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 180065] digikam image download from memorycard problems

Gilles Caulier-4
In reply to this post by Bugzilla from simon@margo.student.utwente.nl
http://bugs.kde.org/show_bug.cgi?id=180065





--- Comment #27 from Gilles Caulier <caulier gilles gmail com>  2009-01-31 10:53:17 ---
Marcel,

Look in code:

http://lxr.kde.org/source/extragear/graphics/digikam/utilities/cameragui/cameracontroller.cpp#523

This is camera controller code which play with image metadata. we call
DMetadata::applyChanges() which call Kexiv2:save(). In this method we test if
Raw files is supported :

http://lxr.kde.org/source/KDE/kdegraphics/libs/libkexiv2/libkexiv2/kexiv2.cpp#308

So in case of ARW, nothing must be changed in metadata.

Note : we can test if it's really a JPEG file in camera controller before to
play with DMetadata.

Marcus,

Can you give the console trace when an ARW file is downloaded (and touched of
course)

Gilles Caulier


--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 180065] digikam image download from memorycard problems

Marcel Wiesweg
In reply to this post by Bugzilla from simon@margo.student.utwente.nl
http://bugs.kde.org/show_bug.cgi?id=180065





--- Comment #28 from Marcel Wiesweg <marcel wiesweg gmx de>  2009-01-31 13:11:14 ---
First: "JPEG-only" is obviously wrong, at least the exiv2 related options are
done for all supported files.

And now this is the problem here:

digikam(7684)/KEXIV2 KExiv2Iface::KExiv2::save: File Extension:
"digikam-camera-tmp1-7684"  is supported for writing mode

We operate on a temp file which does not have any file suffix.


--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 180065] digikam image download from memorycard problems

Gilles Caulier-4
In reply to this post by Bugzilla from simon@margo.student.utwente.nl
http://bugs.kde.org/show_bug.cgi?id=180065





--- Comment #29 from Gilles Caulier <caulier gilles gmail com>  2009-01-31 13:24:31 ---
Yes, Marcel, i just discovered this problem. A fix is on my computer...

I will extend "JPEG only" operation to PNG/TIFF/JPEG2000 later 0.10.0.

Gilles


--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 180065] digikam image download from memorycard problems

Gilles Caulier-4
In reply to this post by Bugzilla from simon@margo.student.utwente.nl
http://bugs.kde.org/show_bug.cgi?id=180065





--- Comment #30 from Gilles Caulier <caulier gilles gmail com>  2009-01-31 13:26:36 ---
SVN commit 919053 by cgilles:

digiKam from trunk: Camera GUI : append orginal file name to temp url used to
download file from camera (not prepend).
Like this, original file type mime is not lost and JPEG operation during
download are not applied to RAW files.
CCBUGS: 180065


 M  +1 -1      cameracontroller.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=919053


--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 180065] digikam image download from memorycard problems

Bugzilla from simon@margo.student.utwente.nl
In reply to this post by Bugzilla from simon@margo.student.utwente.nl
http://bugs.kde.org/show_bug.cgi?id=180065





--- Comment #31 from simon margo student utwente nl  2009-01-31 13:52:27 ---
Great that you found the fix!

however I must note that mime types should not be inferred from filenames or
their extensions, this may be ok for 99% of all situations, but it's safer to
test a file based on the internal file structure (like the file command does).

Anyway, I'm already quite happy to know that the problem should now be fixed...

Cheers

Simon


--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 180065] digikam image download from memorycard problems

Gilles Caulier-4
In reply to this post by Bugzilla from simon@margo.student.utwente.nl
http://bugs.kde.org/show_bug.cgi?id=180065





--- Comment #32 from Gilles Caulier <caulier gilles gmail com>  2009-01-31 13:58:50 ---
Well, try to detect type mime use file content is impossible to do... with RAW
file. Why??? because camera maker have the good idea to use a derivated TIFF/EP
format to make RAW files... For example KDELib typemime detection method find
TIFF for ARW. Do you feel the problem ?

This is why in digiKAm we only use file extension... (else it will be easy of
course)

I would to thanks camera maker to increase complexity of photo workflow !!!
This is why i'm a support DNG format (it's not perfect of course, but it's a
first start)

Gilles Caulier


--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 180065] digikam image download from memorycard problems

Gilles Caulier-4
In reply to this post by Bugzilla from simon@margo.student.utwente.nl
http://bugs.kde.org/show_bug.cgi?id=180065


Gilles Caulier caulier gilles gmail com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED




--- Comment #33 from Gilles Caulier <caulier gilles gmail com>  2009-01-31 14:14:29 ---
SVN commit 919064 by cgilles:

digiKam from trunk : to prevent any problem, only apply JPEG fix to JPEG files
BUG: 180065


 M  +42 -39    cameracontroller.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=919064


--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 180065] digikam image download from memorycard problems

Gilles Caulier-4
In reply to this post by Bugzilla from simon@margo.student.utwente.nl
https://bugs.kde.org/show_bug.cgi?id=180065


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|0.9.5-svn                   |0.9.5




--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 180065] digikam image download from memorycard problems

Gilles Caulier-4
In reply to this post by Bugzilla from simon@margo.student.utwente.nl
https://bugs.kde.org/show_bug.cgi?id=180065


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Camera GUI                  |Import




--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
12