Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
After I do some basic processing, then export (and the box is checked to keep the exif data), the exif data is lost in the resulting created file.
?
I'm using Gimp 2.10.24 a Pentax k-s2 camera
p.s. The exif data is retained if I overwrite. It's just when exporting that it is lost... I can't do a "save as" because the resulting file is not jpg (it's .xcf)
After reading your reply, I thought and ask, are you a fellow Pentaxian?
I read through both url links you supplied. I will report the problem there also...
As of now, the only way to retain the EXIF data is to "overwrite" the original file after I have made my desired post processing adjustments (to the image)...
Regards,
Michael
p.s. for the longest time, I was running the beta version of Gimp, with a flatpak installation (because exif data could not even be retained with the overwrite option of saving. Perhaps I'll install the beta version again and see how it behaves...
Last edited by Michael Piziak; 10-07-2021 at 05:12 PM.
I wonder why you posted that link. I see no mention of losing EXIF data when exporting - except that GIMP should be compiled with EXIF support. Unlikely, but worth checking out I guess.
As OP did.
They already got a reply with a hint that should be followed up on:
Quote:
Especially exiv2 is important here, since that's where the code for reading the EXIF MakerNotes of specific camera brands is done.
Also standard troubleshooting techniques, like opening the application in a terminal to look for messages or cghecking various logs - all things this long-time LQ member has known for years.
I also wonder what "exif data is retained if I overwrite" means? Overwrite how? By exporting in GIMP?
I have seen confusion about exif vs IPTC and XMP. Sometimes the metadata is not really exif. So check those boxes too when you export, and see if it works.
A workaround is to use a tool like jhead to copy it from the orginal to the edited version. Like this:
I wonder why you posted that link. I see no mention of losing EXIF data when exporting - except that GIMP should be compiled with EXIF support. Unlikely, but worth checking out I guess...
Yeah, that one makes much more sense.
I hope OP sees it, reads it, and performs some tests.
It looks like the problem only occurs with JPEGs taken with the camera directly, and not raw images transformed to JPEGs.
That particular issue was closed 11 months ago, with 2 commits referencing it, but I couldn't figure out which GIMP release incorporated the changes.
I did some tests with one of the example images from that issue, and could not reproduce OP's problem (GIMP 2.10.28). However, exiftool outputs a much larger set of metadata (than exiv2), and it changes quite a bit after editing an image in GIMP - it's up to OP to delve deeper into that, and also take Guttorm's reply into account.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.