Project

General

Profile

Feature #531

Pentax lens info decoding

Added by Anonymous about 14 years ago. Updated almost 13 years ago.

Status:
Closed
Priority:
Normal
Category:
exif
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

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.


Files

exiv2-pentax18-250.patch (626 Bytes) exiv2-pentax18-250.patch Redmine Admin, 28 Oct 2007 05:02
exiv2-pentax-lens.patch (3.24 KB) exiv2-pentax-lens.patch Redmine Admin, 02 Dec 2007 21:21

History

#1

Updated by Anonymous about 14 years ago

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

#2

Updated by Anonymous almost 14 years ago

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

#3

Updated by Andreas Huggel almost 14 years ago

r1341: Applied patch from Michal Cihar.

Also available in: Atom PDF