Thanks to visit codestin.com
Credit goes to github.com

Skip to content

imsave() should allow to store EXIF tags #2314

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

Closed
jwuttke opened this issue Aug 19, 2013 · 4 comments
Closed

imsave() should allow to store EXIF tags #2314

jwuttke opened this issue Aug 19, 2013 · 4 comments

Comments

@jwuttke
Copy link

jwuttke commented Aug 19, 2013

When processing an image using

im = misc.imread( fnam )
# modify im
misc.imsave( fnam, im )

all EXIF tags are lost.

Optional support for EXIF would be very useful for photo processing. What about the following?:

im, tags = misc.imread( fnam )
# modify im, using e.g. ... tags['DateTimeOriginal']
misc.imsave( fnam, im, exif=tags )
@petehuang
Copy link
Contributor

Can someone provide instructions for reproduction to help confirm in later MPL versions?

@tacaswell
Copy link
Member

This may be supported now via #7349

@QuLogic
Copy link
Member

QuLogic commented Dec 31, 2016

That only added PNG, which doesn't technically support EXIF. I would guess the target here is JPG; the interface would be the same as #7349 probably, with a difference in implementation of course.

@tacaswell tacaswell modified the milestones: 2.1 (next point release), 2.2 (next next feature release) Oct 3, 2017
@anntzer
Copy link
Contributor

anntzer commented Jul 1, 2019

One can now just rely on Pillow's exif support (https://pillow.readthedocs.io/en/stable/releasenotes/6.0.0.html#png-exif-data) and pass kwargs to Pillow via the pil_kwargs parameter.

@anntzer anntzer closed this as completed Jul 1, 2019
@story645 story645 removed this from the future releases milestone Oct 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants