Comment 9 for bug 754531

Revision history for this message
Damon Lynch (dlynch3) wrote :

I revised the code you submitted to make it fit with how the rest of the code works.

There is an error in this function, which must be fixed:

http://bazaar.launchpad.net/~dlynch3/rapid/trunk/view/head:/rapid/metadataphoto.py#L214

The generated value is not what I expect. This is what exiftool gives for a sample Canon 5D Mk II RAW file:
$ exiftool -f -FileNumber _MG_1929.CR2
File Number : 100-1929

but the code gives this incorrect value: 1280000

I don't understand Perl, so if you could fix the bug that would helpful, thanks.