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

Add option to copy iptc data when transplanting exif information #110

Closed

Conversation

sandrinewitt
Copy link

No description provided.

Copy link

@MRigal MRigal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice improvement! Maybe you could add in the description of the MR or maybe even better in a test or in the doc what iptc stands for or helps with.

@@ -22,6 +22,8 @@ def transplant(exif_src, image, new_file=None):
if exif is None:
raise ValueError("not found exif in input")

iptc = get_iptc_seg(segments) if include_iptc else b"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@ -3,7 +3,7 @@
from ._common import *


def transplant(exif_src, image, new_file=None):
def transplant(exif_src, image, new_file=None, include_iptc=False):
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants