Implementation of exposure value calculation from exif