Main Menu

Recent posts

#61
Bug Reports / Feature Requests / Re: Geotagging with ExifTool
Last post by Phil Harvey - July 06, 2025, 07:24:12 AM
Ah, I see the problem.  There is a GNRMC sentence half way through the NMEA file (at the location of the truncated GNGGA line).  From this point on ExifTool takes the date from the RMC, but the date isn't known for all earlier fixes.  If remove the RMC line then ExifTool will assume the current day, and it would be OK.  But as it stands, the fixes before the RMC have an unknown date, so they won't be used.

In general, it is best to geotag from the RMC sentence if possible since it contains both date and time.  Geotagging from time-only NMEA is problematic.

- Phil
#62
The "exiftool" Application / Is there a way to show tag and...
Last post by norbertj - July 06, 2025, 07:17:05 AM
Let me first describe the scenario, which leads to my question:
I want to see the meta data in German, so I start ExifTool with -lang de. I see an entry, which I want to change, but I do not see the tag, which is necessary for writing. When using English, in many cases the tag can be guessed from the description, but that does not work with German.
I found a workaround: using -G:1:5:7 I get something like "Nikon:JPEG-APP1-IFD0-ExifIFD-MakerNotes-VRInfo:ID-0" which probably is unique, but this is nothing which can be used for writing. So running ExifTool again with -G:1:5:7 -s and then searching for "Nikon:JPEG-APP1-IFD0-ExifIFD-MakerNotes-VRInfo:ID-0" will give me the tag for writing.

I am including ExifTool in an Windows application using ExifToolWrapper. If there is no way now to get tag and description together using the ExifTool Application: is there a way to achieve this using the Perl library directly?
#63
Bug Reports / Feature Requests / Re: Geotagging with ExifTool
Last post by Phil Harvey - July 06, 2025, 07:02:51 AM
Also, the NMEA file you uploaded is corrupted around the time of the photo (a GNGGA line is truncated), which may be causing some problems but I haven't thought through the ramifications in detail.

- Phil
#64
The Image::ExifTool API / Re: Problem with tag qualifier...
Last post by Phil Harvey - July 06, 2025, 06:51:38 AM
The "info" hash uses tag keys, not fully qualified tag names.  You have to do something like this if you want to find the XMP:ModifyDate:

my $et = Image::ExifTool->new;
$et->ImageInfo('pic.jpg');
my $date = $et->GetValue('XMP:ModifyDate');

- Phil
#65
Bug Reports / Feature Requests / Re: Geotagging with ExifTool
Last post by Phil Harvey - July 06, 2025, 06:44:30 AM
Looking at the image file you uploaded:

exiftool ~/Downloads/R0011602.JPG -time:all -G1
[System]        File Modification Date/Time     : 2025:07:06 06:33:58-04:00
[System]        File Access Date/Time           : 2025:07:06 06:38:08-04:00
[System]        File Inode Change Date/Time     : 2025:07:06 06:33:58-04:00
[IFD0]          Modify Date                     : 2025:07:02 16:49:50
[ExifIFD]       Date/Time Original              : 2025:07:02 16:49:50
[ExifIFD]       Create Date                     : 2025:07:02 16:49:50
[ExifIFD]       Offset Time                     : +02:00
[ExifIFD]       Offset Time Original            : +02:00
[ExifIFD]       Offset Time Digitized           : +02:00
[GPS]           GPS Time Stamp                  : 16:49:52
[GPS]           GPS Date Stamp                  : 2025:07:02
[Composite]     Create Date                     : 2025:07:02 16:49:50+02:00
[Composite]     Date/Time Original              : 2025:07:02 16:49:50+02:00
[Composite]     Modify Date                     : 2025:07:02 16:49:50+02:00
[Composite]     GPS Date/Time                   : 2025:07:02 16:49:52Z

The time resolution is only 1 second (ie. there are not sub-seconds tags in this file), so one would expect multiple images geotagged to the same location if you are shooting faster than 1/sec.

BTW, your "GPS track is empty" error is likely because of a syntax error in your command, but you didn't paste the command you used so I can't help more.

- Phil
#66
The "exiftool" Application / Re: Add thumbnail and preview ...
Last post by Phil Harvey - July 06, 2025, 06:28:07 AM
Hi Hans,

I'm quite sure that HIF is just another extension for HEIF files, but your download link doesn't work for me so I can't look at your samples.

- Phil
#67
Bug Reports / Feature Requests / Geotagging with ExifTool
Last post by antb - July 06, 2025, 05:28:04 AM
Dear Phil,
I am sorry to ask question about Geotagging with ExifTool, I tried several extra argument but I still have an issue.
[ test carried out with powershell and windows11 dos console, with version exiftool-10.07 ]
let me describe the issue hereafter regarding geotagging:

Please also be aware that We work with external GNSS chipset, and the higher the resolution of the timestamp the better the synchronization on NMEA serial log from the GNSS chipset.
We use and monitor external GNSS chipsets and log NMEA at high rate (1hz to 50 hz). We made intensive tests on several chipset brands on long recording periods.

After our shooting, we backup the NMEA file (mainly GGA sentence). You could find attached a sample.

The idea is to geotag the image from the 360 cameras (we test several brands, ricoh theta, insta360, kandaovr...) and we follow your guidelines from https://www.exiftool.org/geotag.html#Implementation

We are not satisfied with the geotag coordinate stored and I would like to better check how interpolation is being done from the NMEA log (actually we noticed that exiftools store the same lat/long coordinates in several consecutive images which does not make sense...).

C:\TEMP\exiftool-10.07>exiftool.exe -v2 -geosync=+02:00:02 -geotag "C:\Users\Documents\__TRASH\100RICOH\02-07-2025\GGA_ONLY_USB_20250702_183901.log" "-Geotime<DateTimeOriginal" C:\Users\Documents\__TRASH\100RICOH\02-07-2025
so I tested with explicite argument -geosync and -geotime...
but the console returns something like
Warning: GPS track is empty in File:Geotime (ValueConvInv) - C:/Users/Documents/__TRASH/100RICOH/02-07-2025/R0011631.JPG
Warning: No writable tags set from C:/Users/Documents/__TRASH/100RICOH/02-07-2025/R0011631.JPG

I was wondering what kind of NMEA log file your are managing.
basically, my NMEA log file contains that kind of message, at 1hz up to 50hz.
$GNGGA,163909.80,4538.70316168,N,00447.68945624,E,1,20,0.8,258.3105,M,50.6404,M,,*78
should you wish a sample please ask and I will send you a download link.
thank you
regards,
antoine
#68
Bug Reports / Feature Requests / Re: Unable to copy metadata pr...
Last post by StarGeek - July 05, 2025, 09:19:04 PM
Do you have a sample that works correctly in XnView and one that doesn't?

What version of XnView are you using. I found this thread that seems similar and was fixed in XnView MP version 1.7.2
#69
Bug Reports / Feature Requests / Unable to copy metadata proper...
Last post by golemus - July 05, 2025, 09:12:20 PM
Exiftool seems unable to copy metadata from normal smarphone pics to jxl files. I am doing this type of bat file:

magick "%IFILE%" -quality 80 "%OFILE%"

exiftool -TagsFromFile "%IFILE%" -All:All "%OFILE%"


It claims that data is copied and I do see the metadata on xnview mp exiftool page BUT xnmp exif page is empty and gps page does not appear.

Is there maybe some bug when writing the metadata which makes xnmp (and possibly other apps?) unable to parse exiftool output properly?

I noticed that there was another topic here related to problems when modifying jxl metadata.


It is not impossible that the bug would be in xnmp side when writing and reading exif but I think I checked those files with some other viewers so currently I suspect that it might be on exiftool side (unless xnmp uses exiftool internally =D)
#70
The Image::ExifTool API / Problem with tag qualifiers
Last post by Tom Cunningham - July 05, 2025, 08:07:07 PM
I'm using ExifTool::ImageInfo to extract dates from a file. If I do:

my $info = $ExifTool::ImageInfo('pic.jpg');
my $date = $info->{'ModifyDate'};

I get back a valid date. However, if I change the second line to:

my $date = $info->{'XMP:ModifyDate'};

I get back nothing. Using the same file on the command line I get:

$ exiftool -ModifyDate pic.jpg
Modify Date                     : 2025:06:16 19:41:49-0700
$ exiftool -XMP:ModifyDate pic.jpg
Modify Date                     : 2025:06:16 21:41:49-07:00

Which is what I expect. Any clues as to why it works on the command line, but not in the script? Thanks.