-
Notifications
You must be signed in to change notification settings - Fork 191
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Canon MakerNote: Allow callable to process tag value
While working on some images I found that the library did not expose the 'CameraTemperature' tag from the ShotInfo MakerNote. To support this I added a callable and allow that callable to be called with the tag value. I might be useful for other tags too. Example output from a JPEG image taken on a Canon EOS 2000D: ``` >>> exif = exifread.process_file(fd, details=True) >>> exif["MakerNote CameraTemperature"] (0x0000) Proprietary=55 C @ 0 ``` Signed-off-by: Daan van Gorkum <[email protected]>
- Loading branch information
Showing
2 changed files
with
16 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters