Fixed self.THUMBDIR. It's a module global
TODO: When the DNG is created with full size previews the relevant jpg is stored somewhere else
Added code snippet that dumps all jpegs embedded in a file
DNG module. Can read DNG directory entries
Add default log level
tag_dict initialized at __init__
read_directory also reads the offset to the next directory
New method DNG.seek
Able to list all subimages in a DNG file
Optimization: Do not import logging module, use custom code. Adds .02 seconds. It's only once per module initialization. It's probably OK
Optimization. Do not try to create the tag_dict for every Tag object initialization. Do only once per module
Optimization. Better to try and fail than to check for every read_value
PEP8
Fixed Logging class logging functions, which were not complying with the log level, some closure problem
New class IFD is more pythonic and should help return list of images to filter
Added more mandatory and common tags
Added debugging output methods to the IFD class
get_images and get_previews return lists of IFD instances
Can open the file with the initializer, can close the file and added __del__ method to try to avoid leaks