Feature #825

Panasonic Manometer Tag

Added by Christoph Anton Mitterer almost 5 years ago. Updated 7 months ago.

Status:ClosedStart date:10 May 2012
Priority:NormalDue date:04 Sep 2016
Assignee:Ben Touchette% Done:

100%

Category:exifEstimated time:1.00 hour
Target version:0.26

Description

Hi.

I found out the (AFAIK yet undocumented) tag for the manometer of some Panasonic cameras.

The tag "Exif.Panasonic.0x0086" gives the pressure in unit "hPa".

I verified this using a Panasonic Lumix DMC-FT4, with a whole series of shots, comparing the pressure value displayed for the pictures in the camera (where the unit is given, too) with the values from all tags.
They always matched.

I've had a few test pictures from the successor DMC-FT3 and while I haven't had the camera there, the values seemed highly reasonable to be the correct pressure values, just as in the DMC-FT4.

Please integrate :)

P1010527.JPG - under water (4.5 MB) Christoph Anton Mitterer, 29 Apr 2015 02:31

P1020018.JPG - above water (4.46 MB) Christoph Anton Mitterer, 29 Apr 2015 02:31

Associated revisions

Revision 4459
Added by Ben Touchette 7 months ago

#825 added printPressure for panasonic makernotes to display hPa values or infinite when value is 65535 for Exif field 0x0086

Revision 4460
Added by Robin Mills 7 months ago

#825 Adding regression detector to test suite.

History

#1 Updated by Robin Mills almost 2 years ago

  • Status changed from New to Assigned
  • Assignee set to Robin Mills
  • Target version set to 0.25

Christoph

Apologies for taking so long to looking at your issue report. We're preparing to release v0.25 in mid-May. Can you provide a test image please and this will be investigated.

#2 Updated by Christoph Anton Mitterer almost 2 years ago

No worries :-)

Attached are two images.
As you can see the camera apparently uses a special value of 65535 when being under water (the pressure sensor doesn't work there unfortunately).

#3 Updated by Robin Mills almost 2 years ago

  • Target version changed from 0.25 to 0.26

Deferred to v0.26. Insufficient time to deal with this for v0.25.

#4 Updated by Robin Mills almost 2 years ago

  • Assignee deleted (Robin Mills)

#5 Updated by Ben Touchette 7 months ago

@Robin Updated in r4459 to display hPa value or infinite when set to 65535.

#6 Updated by Ben Touchette 7 months ago

  • Due date set to 04 Sep 2016
  • Status changed from Assigned to Resolved
  • Assignee set to Ben Touchette
  • % Done changed from 0 to 100
  • Estimated time set to 1.00

#7 Updated by Ben Touchette 7 months ago

  • Status changed from Resolved to Closed

#8 Updated by Robin Mills 7 months ago

Thanks very much Ben for dealing with this. Two very nice photos. I've submitted changes to the test suite: r4460

825 rmills@rmillsmbp:~/gnu/exiv2/trunk $ exiv2 -pa --grep mano/i http://dev.exiv2.org/attachments/download/777/P1010527.JPG 
Exif.Panasonic.ManometerPressure             Short       1  infinite
826 rmills@rmillsmbp:~/gnu/exiv2/trunk $ exiv2 -pv --grep mano/i http://dev.exiv2.org/attachments/download/777/P1010527.JPG 
0x0086 Panasonic    ManometerPressure           Short       1  65535
827 rmills@rmillsmbp:~/gnu/exiv2/trunk $ exiv2 -pa --grep mano/i http://dev.exiv2.org/attachments/download/778/P1020018.JPG
Exif.Panasonic.ManometerPressure             Short       1  1007 hPa
828 rmills@rmillsmbp:~/gnu/exiv2/trunk $ exiv2 -pv --grep mano/i http://dev.exiv2.org/attachments/download/778/P1020018.JPG
0x0086 Panasonic    ManometerPressure           Short       1  1007
829 rmills@rmillsmbp:~/gnu/exiv2/trunk $ 
I've extracted the metadata from the images and added them to the test suite.
829 rmills@rmillsmbp:~/gnu/exiv2/trunk $ exiv2 -ea --verbose http://dev.exiv2.org/attachments/download/778/P1020018.JPG
File 1/1: http://dev.exiv2.org/attachments/download/778/P1020018.JPG
Writing Exif data from http://dev.exiv2.org/attachments/download/778/P1020018.JPG to P1020018.exv
830 rmills@rmillsmbp:~/gnu/exiv2/trunk $ exiv2 -ea --verbose http://dev.exiv2.org/attachments/download/777/P1010527.JPG 
File 1/1: http://dev.exiv2.org/attachments/download/777/P1010527.JPG
Writing Exif data from http://dev.exiv2.org/attachments/download/777/P1010527.JPG to P1010527.exv
831 rmills@rmillsmbp:~/gnu/exiv2/trunk $ ls -alt P*.exv
-rw-r--r--+ 1 rmills  staff  19085  5 Sep 11:19 P1010527.exv
-rw-r--r--+ 1 rmills  staff  16127  5 Sep 11:19 P1020018.exv
832 rmills@rmillsmbp:~/gnu/exiv2/trunk $ mv P1010527.exv  test/data/exiv2-bug825a.exv
833 rmills@rmillsmbp:~/gnu/exiv2/trunk $ mv P1020018.exv  test/data/exiv2-bug825b.exv
834 rmills@rmillsmbp:~/gnu/exiv2/trunk $ cd test/data
835 rmills@rmillsmbp:~/gnu/exiv2/trunk/test/data $ dir *825*
-rw-r--r--+ 1 rmills  staff    19K  5 Sep 11:19 exiv2-bug825a.exv
-rw-r--r--+ 1 rmills  staff    16K  5 Sep 11:19 exiv2-bug825b.exv
836 rmills@rmillsmbp:~/gnu/exiv2/trunk/test/data $ svn add *825*
A  (bin)  exiv2-bug825a.exv
A  (bin)  exiv2-bug825b.exv
I've updated test/bugfixes.sh (and test/data/bugfixes.out) to use the metadata. I call this a "regression detector". If Exiv2 reverts to its former behaviour, we'll know about it!

Also available in: Atom PDF

Redmine Appliance - Powered by TurnKey Linux