A picture file from a modern digital camera contains more than
just the image that the camera took. It can also contain:
process_file(file, debug=0)
where
file
is an open file like object that supports seek(), and debug
is a flag that enables debugging output when true.
| Object Attributes | Meaning |
| printable | String representation of tag, suitable for printing. |
| tag | Numeric tag ID. |
| field_type | Index into the FIELD_TYPES list. Each FIELD_TYPES entry is a (length of type in bytes, type name abbreviation, type full name) tuple. |
| values | String or array of raw values from tag. |
| field_offset | Offset of start of tag from beginning of file. Used by MakerNote processing. |