[Bug 179031] New: exposure times shown for Panasonic RAW pictures do not make sense

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

[Bug 179031] New: exposure times shown for Panasonic RAW pictures do not make sense

S. Burmeister
http://bugs.kde.org/show_bug.cgi?id=179031

           Summary: exposure times shown for Panasonic RAW pictures do not
                    make sense
           Product: digikam
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Metadata
        AssignedTo: [hidden email]
        ReportedBy: [hidden email]


Version:           0.10 beta8 (using Devel)
OS:                Linux
Installed from:    Compiled sources

As you can see in the screenshot digikam displays a negative exposure time.

If you could tell me if there is a way to check that the picture itself does
not do something wrong I could test it. I only have one RAW format though, so I
cannot say whether this only happens for Panansonic's .rw2 pictures or for all
RAW pictures.

Other pictures show an exposure time of 8s or 100s which seems a bit off too.


--
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 179031] exposure times shown for Panasonic RAW pictures do not make sense

S. Burmeister
http://bugs.kde.org/show_bug.cgi?id=179031





--- Comment #1 from S. Burmeister <sven burmeister gmx net>  2008-12-29 10:39:02 ---
Created an attachment (id=29719)
 --> (http://bugs.kde.org/attachment.cgi?id=29719)
screenshot of exposure time


--
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 179031] exposure times shown for Panasonic RAW pictures do not make sense

Marcel Wiesweg
In reply to this post by S. Burmeister
http://bugs.kde.org/show_bug.cgi?id=179031


Marcel Wiesweg marcel wiesweg gmx de changed:

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




--- Comment #2 from Marcel Wiesweg <marcel wiesweg gmx de>  2008-12-29 13:12:06 ---
Can you send me the picture and one of the others with 8/100s exposure to my
private address?


--
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 179031] exposure times shown for Panasonic RAW pictures do not make sense

Bugzilla from andi.clemens@gmx.net
In reply to this post by S. Burmeister
http://bugs.kde.org/show_bug.cgi?id=179031


Andi Clemens andi clemens gmx net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|unspecified                 |0.10.0-beta8




--
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 179031] exposure times shown for Panasonic RAW pictures do not make sense

Marcel Wiesweg
In reply to this post by S. Burmeister
http://bugs.kde.org/show_bug.cgi?id=179031


Marcel Wiesweg marcel wiesweg gmx de changed:

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




--- Comment #3 from Marcel Wiesweg <marcel wiesweg gmx de>  2009-01-02 22:04:51 ---
These pictures are not supported by exiv2. Andreas, do you know anything about
.rw2 files?

Gilles, the wrong values come from libraw's rawFileIdentify. Do you know why
these values are wrong?


--
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 179031] exposure times shown for Panasonic RAW pictures do not make sense

Bugzilla from ahuggel@gmx.net
In reply to this post by S. Burmeister
http://bugs.kde.org/show_bug.cgi?id=179031





--- Comment #4 from Andreas Huggel <ahuggel gmx net>  2009-01-03 09:40:01 ---
No, but it seems they are of the TIFF-like variety with a custom TIFF-header.
At least as far as reading the metadata is concerned. Adding basic read-support
to Exiv2 won't be a big deal.


--
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 179031] exposure times shown for Panasonic RAW pictures do not make sense

Gilles Caulier-4
In reply to this post by S. Burmeister
http://bugs.kde.org/show_bug.cgi?id=179031





--- Comment #5 from Gilles Caulier <caulier gilles gmail com>  2009-01-03 09:58:09 ---
>Gilles, the wrong values come from libraw's rawFileIdentify. Do you know why >these values are wrong?

Marcel,

I don't know. I will contact Alex Tutubalin from LibRaw project for details.

Sven,

Can you perform a simple test with dcraw command line program:

dcraw -i -v myrawfile.rw2

Another try is to use test program 'identify' from libraw generated with
libkdcraw. This program emulate "dcraw -i -v". Just run it with your rw2 file

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 179031] exposure times shown for Panasonic RAW pictures do not make sense

Gilles Caulier-4
In reply to this post by S. Burmeister
http://bugs.kde.org/show_bug.cgi?id=179031





--- Comment #6 from Gilles Caulier <caulier gilles gmail com>  2009-01-03 10:25:58 ---
Marcel,

This is the response from Alex:

------------------------------------------------------------------
Gilles Caulier wrote:

    Alex,

    Can you take a look in this bug report from KDE bugzilla:

    http://bugs.kde.org/show_bug.cgi?id=179031

I've tested my tiny collection of .rw2 files with identify without any
problems.

Also, it is not easy to get negative shutter speed (this value is either
directly
read from file or calculated as pow(2, some-value) ).

Possible error source is _float_ shutter value: if some code interprets it as
double
many strange things may happen.

Anyway, need sample file with this error

--
Alex Tutubalin
Web: http://blog.lexa.ru
mailto:[hidden email]
--------------------------------------------------------------------------


--
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
|

Re: [Bug 179031] exposure times shown for Panasonic RAW pictures do not make sense

Gilles Caulier-4
In reply to this post by Gilles Caulier-4
Thanks Alex,

I post your response to KDE bugzilla. I will wait the response from Marcel.

Best

Gilles Caulier

2009/1/3 Gilles Caulier <[hidden email]>
--- Comment #5 from Gilles Caulier <caulier gilles gmail com>  2009-01-03 09:58:09 ---
>Gilles, the wrong values come from libraw's rawFileIdentify. Do you know why >these values are wrong?

Marcel,

I don't know. I will contact Alex Tutubalin from LibRaw project for details.

Sven,

Can you perform a simple test with dcraw command line program:

dcraw -i -v myrawfile.rw2

Another try is to use test program 'identify' from libraw generated with
libkdcraw. This program emulate "dcraw -i -v". Just run it with your rw2 file

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


_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 179031] exposure times shown for Panasonic RAW pictures do not make sense

S. Burmeister
In reply to this post by S. Burmeister
http://bugs.kde.org/show_bug.cgi?id=179031





--- Comment #7 from S. Burmeister <sven burmeister gmx net>  2009-01-03 12:17:09 ---
For the picture that shows 160 s in digikam I get:

dcraw -i -v p1000039.rw2

Filename: p1000039.rw2
Timestamp: Tue Dec 23 14:36:55 2008
Camera: Panasonic DMC-LX3          
ISO speed: 80                      
Shutter: 1/160.0 sec              
Aperture: f/2.8                    
Focal length: 5.1 mm              
Embedded ICC profile: no
Number of raw images: 1
Thumb size:  1920 x 1440
Full size:   3724 x 2754
Image size:  3724 x 2754
Output size: 3724 x 2754
Raw colors: 3
Filter pattern: RGGBRGGBRGGBRGGB
Daylight multipliers: 1.000000 1.000000 1.000000
Camera multipliers: 482.000000 263.000000 463.000000 0.000000

For the picture with the negative exposure time I get:

dcraw -i -v p1000041.rw2

Filename: p1000041.rw2
Timestamp: Tue Dec 23 14:38:43 2008
Camera: Panasonic DMC-LX3          
ISO speed: 80                      
Shutter: 1/125.0 sec              
Aperture: f/2.8                    
Focal length: 5.1 mm              
Embedded ICC profile: no
Number of raw images: 1
Thumb size:  1920 x 1440
Full size:   3724 x 2754
Image size:  3724 x 2754
Output size: 3724 x 2754
Raw colors: 3
Filter pattern: RGGBRGGBRGGBRGGB
Daylight multipliers: 1.000000 1.000000 1.000000
Camera multipliers: 535.000000 263.000000 432.000000 0.000000

If you need the output of "identify" as well, let me know.


--
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 179031] exposure times shown for Panasonic RAW pictures do not make sense

Bugzilla from ahuggel@gmx.net
In reply to this post by S. Burmeister
http://bugs.kde.org/show_bug.cgi?id=179031





--- Comment #8 from Andreas Huggel <ahuggel gmx net>  2009-01-06 17:08:03 ---
Exiv2 now has basic read-support for Panasonic RW2 format (SVN trunk, Rev.
1722). It is also possible to extract a JPG preview image from the raw file
(that works at least with the samples from a DMC-LX3 and DMC-FZ28 that I have
here), using exiv2 with the -pp and -ep options. Interestingly the preview
contains a lot more metadata than what is readily available in the RAW file.

Andreas


--
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 179031] exposure times shown for Panasonic RAW pictures do not make sense

Marcel Wiesweg
In reply to this post by S. Burmeister
http://bugs.kde.org/show_bug.cgi?id=179031





--- Comment #9 from Marcel Wiesweg <marcel wiesweg gmx de>  2009-01-06 18:49:33 ---
SVN commit 906707 by mwiesweg:

Interpret shutter value from libraw correctly

CCBUG: 179031

 M  +1 -1      dmetadata.cpp  


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


--
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 179031] exposure times shown for Panasonic RAW pictures do not make sense

Marcel Wiesweg
In reply to this post by S. Burmeister
http://bugs.kde.org/show_bug.cgi?id=179031


Marcel Wiesweg marcel wiesweg gmx de changed:

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




--- Comment #10 from Marcel Wiesweg <marcel wiesweg gmx de>  2009-01-06 18:51:37 ---
Ok we fixed the original problem interpreting the value from libraw,
and got full exiv2 support now as well.


--
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 179031] exposure times shown for Panasonic RAW pictures do not make sense

S. Burmeister
In reply to this post by S. Burmeister
http://bugs.kde.org/show_bug.cgi?id=179031





--- Comment #11 from S. Burmeister <sven burmeister gmx net>  2009-01-06 19:58:56 ---
Is there some database with the meta-data or do I need to update anything else
than digikam? I just compiled and installed Revision: 906728 and still see the
number without the 1/ in front of it and the ...41.rw2 picture I send you now
shows -21s.


--
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 179031] exposure times shown for Panasonic RAW pictures do not make sense

Marcel Wiesweg
In reply to this post by S. Burmeister
http://bugs.kde.org/show_bug.cgi?id=179031





--- Comment #12 from Marcel Wiesweg <marcel wiesweg gmx de>  2009-01-06 22:01:25 ---
Yes the value is stored in the database. (If you look at the metadata tab,
which is loaded from the file, the value is correct). There is no UI tool to
force a rescan currently. Quick fix for you: open your database file with the
sqlite3 tool and execute
UPDATE Images SET modificationDate=NULL WHERE name LIKE '%.rw2';
which forces a rescan of *.rw2 pictures at next start.


--
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 179031] exposure times shown for Panasonic RAW pictures do not make sense

S. Burmeister
In reply to this post by S. Burmeister
http://bugs.kde.org/show_bug.cgi?id=179031





--- Comment #13 from S. Burmeister <sven burmeister gmx net>  2009-01-06 23:52:41 ---
You were right, although I got impatient since your query returned that there
is no table Images and just deleted the db. I tried .databases and it showed
main and temp, but .tables or .tables * showed nothing. Anyway, after creating
a new db it the correct exposure times are shown. Thanks for fixing!


--
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 179031] exposure times shown for Panasonic RAW pictures do not make sense

Gilles Caulier-4
In reply to this post by S. Burmeister
https://bugs.kde.org/show_bug.cgi?id=179031


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|0.10.0-beta8                |0.10.0




--
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