~hobs/pyexiv2/workarounds

Viewing all changes in revision 357.

  • Committer: Hobson Lane
  • Date: 2011-05-21 16:59:01 UTC
  • Revision ID: shopper@totalgood.com-20110521165901-wijcjb3mgrskbl0e
Workarounds for bad exif types for Nikon files (divide by zero fractions and 3-digit strings that convert to values outside the ascii range when split()
Tested successfully for 2 previously Nikon jpgs that didn't work before. Broke the link to the fraction.Fraction module in order to fix the divide by zero and string comparison to fraction problem.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: