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

Implement minimal EXIF and IPTC tag support #40

Open
wants to merge 11 commits into
base: master
Choose a base branch
from

Commits on Jun 13, 2022

  1. Implement minimal EXIF and IPTC tag support

    Use PIL's TAGS to deal with EXIF. Use
    iptcinfo3 to deal with IPTC tags. Allows to
    use these as fallback options for copyright
    and caption of photos.
    
    Will not change the default behaviour without
    specifying the setting tag_map, exif or iptc to
    the configuration file.
    sebastiaan-lampo committed Jun 13, 2022
    Configuration menu
    Copy the full SHA
    e393a61 View commit details
    Browse the repository at this point in the history

Commits on Jun 19, 2022

  1. Configuration menu
    Copy the full SHA
    d3698cf View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    25f5ce0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    06f44fd View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d3511e1 View commit details
    Browse the repository at this point in the history
  5. Improve error handling for improper tags

    Also add test cases for improperly formatted tags.
    sebastiaan-lampo committed Jun 19, 2022
    Configuration menu
    Copy the full SHA
    98a2313 View commit details
    Browse the repository at this point in the history
  6. Remove get_attribute overloader

    Need a more robust solution to extract arbitrary attributes. For now, removing this from this branch.
    sebastiaan-lampo committed Jun 19, 2022
    Configuration menu
    Copy the full SHA
    f4f2b42 View commit details
    Browse the repository at this point in the history
  7. Increase log level for iptcinfo to ERROR

    iptcinfo spews many warnings about missing IPTC data, reading before image or decoding error. Most of the time this just seems to mean that the desired tags aren't present.
    sebastiaan-lampo committed Jun 19, 2022
    Configuration menu
    Copy the full SHA
    f8059a7 View commit details
    Browse the repository at this point in the history

Commits on Jun 20, 2022

  1. Fix bug in image rotation code

    Note: Was not detected in test suite because all test images have exif['Orientation'] = None.
    sebastiaan-lampo committed Jun 20, 2022
    Configuration menu
    Copy the full SHA
    6bcad51 View commit details
    Browse the repository at this point in the history
  2. Fix bug in image rotation code

    Note: Was not detected in test suite because all test images have exif['Orientation'] = None.
    sebastiaan-lampo committed Jun 20, 2022
    Configuration menu
    Copy the full SHA
    9e6e742 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0a6983f View commit details
    Browse the repository at this point in the history