Feature #531

Pentax lens info decoding

Added by Michal 268iha345 867 days ago. Updated 453 days ago.

Status:Closed Start:
Priority:Normal Due date:
Assigned to:Andreas Huggel % Done:

0%

Category:exif
Target version:0.16

Description

It looks like decoding of Pentax lenses info is broken for newer K10d firmware. The Exif.Pentax.LensType value used to be 2 bytes, and now is 3 bytes (the last is 0 for now). I have no idea how to adjust decoding to handle both record types.

And attached simple patch adds one missing Pentax lens record.

exiv2-pentax18-250.patch (626 Bytes) Redmine Admin, 28 Oct 2007 05:02

exiv2-pentax-lens.patch (3.2 KB) Redmine Admin, 02 Dec 2007 21:21

History

Updated by Michal 268iha345 867 days ago

You can find sample picture from new K10d firmware here: http://tmp.cihar.com/imgp3224.jpg

Updated by Michal 268iha345 831 days ago

Uploaded working version of patch which works with both old and new files.

Updated by Andreas Huggel 825 days ago

r1341: Applied patch from Michal Cihar.

Also available in: Atom PDF