Author Topic: Exif editing software  (Read 4866 times)

Feanor

  • It's mostly downhill from here.
Exif editing software
« on: 17 March, 2021, 06:05:13 pm »
Can anyone recommend a tool for adding and editing exif data to pictures?
Specifically, location data.

I'm looking for a small single-purpose tool; not a photo editing suite!

The use-scenarios are:

-Sometimes, I get sent pictures from an event I've been on, using a messaging service which strips the exif tags.  So they don't show up at the correct location on maps like Strava etc. So in this case, I'd like to add new exif tags.

-Sometimes, my phone will not have acquired GPS with any accuracy if I take a photo very soon after waking it up. So the pictures show up way off from their true location. In this case, I'd like to edit existing exif tags.

Jaded

  • The Codfather
  • Formerly known as Jaded
Re: Exif editing software
« Reply #1 on: 17 March, 2021, 06:07:46 pm »
Which OS?
It is simpler than it looks.

Re: Exif editing software
« Reply #2 on: 17 March, 2021, 06:20:10 pm »
Maybe too big, but free.  GNU Image Manipulation Program (GIMP) enables EXIF editing.  https://www.gimp.org/
Cycle and recycle.   SS Wilson

Pingu

  • Put away those fiery biscuits!
  • Mrs Pingu's domestique
    • the Igloo
Re: Exif editing software
« Reply #3 on: 17 March, 2021, 06:29:34 pm »
I've done that using Flickr. It'd be a bit of a faff uploading the image to Flickr, changing the EXIF, downloading the updated image then exporting it to Strava, thobut.

Feanor

  • It's mostly downhill from here.
Re: Exif editing software
« Reply #4 on: 17 March, 2021, 06:33:17 pm »
Thx all.

OS = Win10 64bit

I've used the GIMP before, but I don't currently have it installed. I'll go take a look.

I'd not considered web services, that's an interesting option but yes a bit of a faff.  I wonder if it will allow the addition of tags which do not already exist, or just the ability to edit tags which are already there.  Need to go look.

Feanor

  • It's mostly downhill from here.
Re: Exif editing software
« Reply #5 on: 17 March, 2021, 06:46:33 pm »
Yes, the Metadata editor in GIMP seems to do what I need, thanks.

It is a bit more heavyweight that I was looking for, and like most photo editing software, looks to have a learning curve as steep as the Lecht.
But the bit I want is straightforward!

fuaran

  • rothair gasta
Re: Exif editing software
« Reply #6 on: 17 March, 2021, 07:07:35 pm »
For location data, GeoSetter is good. https://geosetter.de
Can sync with a GPS track, or set locations by clicking on the map.
Does let you edit a variety of other tags, as well as locations.

Feanor

  • It's mostly downhill from here.
Re: Exif editing software
« Reply #7 on: 17 March, 2021, 07:43:27 pm »
Ooh, that geosetter thing is exactly what I was looking for!
Thx.

Davef

Re: Exif editing software
« Reply #8 on: 18 March, 2021, 08:11:34 am »
You could write your own!

Here’s mine for adding comments meta tags

void jpeg_addcomment(const char *path, const char *comment)
{
   CFile f;

   f.Open(path, CFile::modeWrite);

   f.Seek(-2, CFile::end);

   int len = strlen(comment)+3;

   unsigned char buf[4];
   buf[0] = 0xff;
   buf[1] = 0xfe;
   buf[2] = len/256;
   buf[3] = len%256;

   f.Write(buf, 4);
   f.Write(comment, strlen(comment)+1);

   // EOI
   buf[0] = 0xff;
   buf[1] = 0xd9;
   f.Write(buf, 2);

}

Feanor

  • It's mostly downhill from here.
Re: Exif editing software
« Reply #9 on: 18 March, 2021, 08:15:33 am »
So Ive managed to add gps tags, and set the myriad of date/time stamps to be consistent with the tracklog and location, but Strava still wont plonk it on the map.

It just remains as if it were untagged.

Im missing some magic sauce here.

Re: Exif editing software
« Reply #10 on: 18 March, 2021, 08:19:09 am »
Garmin Basecamp can batch geotag jpg photos provided you have a matching gps track and the photo time stamps are good.

Re: Exif editing software
« Reply #11 on: 18 March, 2021, 10:05:33 am »
Why bother, you know where the pic was taken. Do you want everyone to stop at the same place if they upload the run. Met someone on the Badger bikepacking route going north as we went south. Asked about foods stops and he said don't know, was just following the breadcrumb map on his garmin.

fuaran

  • rothair gasta
Re: Exif editing software
« Reply #12 on: 18 March, 2021, 10:31:22 am »
So Ive managed to add gps tags, and set the myriad of date/time stamps to be consistent with the tracklog and location, but Strava still wont plonk it on the map.

It just remains as if it were untagged.

Im missing some magic sauce here.
Strava will only put photos on the map if you upload them through the app. Doesn't work if you upload it through the website.

Re: Exif editing software
« Reply #13 on: 18 March, 2021, 11:48:10 am »
I've used geosetter, too. Haven't done this for a couple of years, but this might help.

I had strava synch with Garmin, upload to Garmin and the synched Strava displays as expected, eg https://www.strava.com/activities/961520669

Feanor

  • It's mostly downhill from here.
Re: Exif editing software
« Reply #14 on: 18 March, 2021, 08:08:30 pm »
So Ive managed to add gps tags, and set the myriad of date/time stamps to be consistent with the tracklog and location, but Strava still wont plonk it on the map.

It just remains as if it were untagged.

Im missing some magic sauce here.
Strava will only put photos on the map if you upload them through the app. Doesn't work if you upload it through the website.

Success! That was indeed the magic sauce.
Same image copied to the phone and uploaded via the app worked just fine.

Shame they don't seem to mention that anywhere!
Thx.

It was just for a silly joak photo, but the technical challenge was bugging me.
https://www.strava.com/activities/4945268890



Davef

Exif editing software
« Reply #15 on: 18 March, 2021, 09:35:14 pm »
So Ive managed to add gps tags, and set the myriad of date/time stamps to be consistent with the tracklog and location, but Strava still wont plonk it on the map.

It just remains as if it were untagged.

Im missing some magic sauce here.
Strava will only put photos on the map if you upload them through the app. Doesn't work if you upload it through the website.

Success! That was indeed the magic sauce.
Same image copied to the phone and uploaded via the app worked just fine.

Shame they don't seem to mention that anywhere!
Thx.

It was just for a silly joak photo, but the technical challenge was bugging me.
https://www.strava.com/activities/4945268890
I wonder if it is a difference at the receiving end or the sending. I believe for example apple devices strip metadata from JPEG’s when you attach them to emails.

I see from strava you went past the house of at least one relative. I ran in the hill race at the last Lonach gathering.

Pingu

  • Put away those fiery biscuits!
  • Mrs Pingu's domestique
    • the Igloo
Re: Exif editing software
« Reply #16 on: 18 March, 2021, 09:50:09 pm »
Garmin Basecamp can batch geotag jpg photos provided you have a matching gps track and the photo time stamps are good.

Ta (although it doesn't seem to tag RAW files)  :thumbsup: