Feature #531

Pentax lens info decoding

Added by Michal Čihař over 11 years ago. Updated over 10 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Andreas Huggel% Done:


Target version:0.16


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 Magnifier (626 Bytes) Redmine Admin, 28 Oct 2007 05:02

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


#1 Updated by Michal Čihař over 11 years ago

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

#2 Updated by Michal Čihař over 11 years ago

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

#3 Updated by Andreas Huggel over 11 years ago

r1341: Applied patch from Michal Cihar.

Also available in: Atom PDF

Redmine Appliance - Powered by TurnKey Linux