Display values/offset (Makernotes)

Started by Martin63, July 29, 2020, 08:02:41 AM

Previous topic - Next topic

Martin63

Hi all,

first of all, my native language is not english (it's dutch), so, my appologies for my bad english.
I'm busy writing a program (in Lazarus/Delphi) to analyze digital photo's (jpg, nef and panasonic raw, but it in the end, I want to be able to process all (?) formats).
I've used Exiftool and was able to "catch" it's output into my program, but what I miss is the following:

Makernotes is at tag 927C. My program says, it's offset 1244 (decimal). What I want is that Exiftool will show me the value "1244" as well (I know, 1244 is problably not correct, but the offset, found by ExifTool, would be nice) . It's probably a commandline option, but I can't figure out which one.

Can anyone please advise?

Thanks ans best regards
Martin

StarGeek

I think that the -v (verbose) option, specifically -v3 or higher, might give you the info as it gives some hex dumps of the groups.
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype

Phil Harvey

As StarGeek mentioned, -v3 will show you the offset in hex, but it probably isn't a very satisfying solution because it also dumps everything else.

You would need to override the ExifOffset tag with a user-defined tag to be able to extract it as a simple number, but doing this is dangerous because any files written with this user-defined tag will lose their Exif information.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

Martin63

Quote from: StarGeek on July 29, 2020, 10:44:38 AM
I think that the -v (verbose) option, specifically -v3 or higher, might give you the info as it gives some hex dumps of the groups.

That (-v3) was exactly what I needed. StartGeek, many thanks and many thanks to Phil to give us suck a great tool.

Martin