Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Canon MakerNote: Allow callable to process tag value #189

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Commits on Oct 22, 2023

  1. 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]>
    TheDJVG committed Oct 22, 2023
    Configuration menu
    Copy the full SHA
    6434332 View commit details
    Browse the repository at this point in the history