Added fileno method to DNG to be used with Raw2Jpeg
Test for size calculation optimization
Optimization. Do no follow offset to read tag values unless we actually try to read the value
Mask independent of extension case
Optimization: Use a single file read to populate an IFD
DNG supports __enter__ and __exit__
Correctly joining paths solves bugs with double slashes in path
Reorganize imports by importance
Checking for keys in dictionary can be done with the dictionary itself, doesn't need .keys()
Disable annoying log message
Use DNG class to extract the embedded jpeg preview. Still no orientation info
Added get_image and get_first_image methods, primarily to be able to get metadata from the first image
Rotate jpeg preview according to the orientation tag on the DNG. Still using exiv2 to set the orientation tag in the jpeg image