Recent posts

#71
The "exiftool" Application / Re: getting data out of unknow...
Last post by StarGeek - March 20, 2025, 10:47:08 AM
Quote from: Phil Harvey on March 20, 2025, 09:33:39 AMYour first try was very close.  All you needed to do was set the LimitLongValues option:  -api limitlongvalues=0

Also, you should add -s3 if you want to redirect the output to a JSON-format file.

Would the -b (-binary) option also have worked? Without need of the -api option?
#72
The "exiftool" Application / Re: getting data out of unknow...
Last post by grubin698 - March 20, 2025, 10:12:25 AM
Perfect! Thanks!
#73
The "exiftool" Application / Re: getting data out of unknow...
Last post by Phil Harvey - March 20, 2025, 09:33:39 AM
Your first try was very close.  All you needed to do was set the LimitLongValues option:  -api limitlongvalues=0

Also, you should add -s3 if you want to redirect the output to a JSON-format file.

- Phil
#74
The "exiftool" Application / getting data out of unknown ta...
Last post by grubin698 - March 20, 2025, 09:02:54 AM
Good morning,
I have a tif containing a radiographic (x-ray) image with associated metadata that was created by the x-ray capture software.
Using the Python exifread library, I can see that there is a tag called 0xFE68 that contains what looks to be a JSON-formatted string.
Screenshot 2025-03-20 085342.png
Screenshot 2025-03-20 085443.png
I'd like to replace the exifread library with exiftool, but I'm having trouble getting the full JSON-formatted string out of exiftool. 
I've tried various versions of stuff I've found about getting at unknown tag data, but have yet to get the full string.
exiftool -u -exif_0xfe68  "radiograph.tif" > "H:\DATA\Laptop Xrays\xfe68.json" yields Exif 0xfe68                     : {"IsFavorite":false,"BackupFile":"","Setup":{"Type":"XT[...]
I've also tried -u -ee -exif_0xfe68-u -ee3 -exif_0xfe68and even -U -G3:1 -api requestall=3 -api largefilesupport -exif_0xfe68 but have yet to stumble upon the magic combination of switches that will give me the whole string. 
#75
Newbies / Re: MS Word (.docx) meta data
Last post by greybeard - March 20, 2025, 07:50:12 AM
Quote from: Phil Harvey on March 20, 2025, 07:30:47 AMIt sounds like you also want to copy this metadata to a PDF file?  This will be trickier, and we can help if you can tell us exactly what metadata you want to copy.

The quick and dirty method would be to read the Exiftool output (redirected to a text file) into MS Word, make sure its formatted to taste and then print to pdf.
#76
Newbies / Re: MS Word (.docx) meta data
Last post by Phil Harvey - March 20, 2025, 07:30:47 AM
The command will be

exiftool FILE

Without knowing what system you are running I can't give any details about how to install ExifTool, but here are the installation instructions for all systems.

It sounds like you also want to copy this metadata to a PDF file?  This will be trickier, and we can help if you can tell us exactly what metadata you want to copy.

- Phil
#77
Newbies / MS Word (.docx) meta data
Last post by James25 - March 20, 2025, 03:50:47 AM
Hello, Could someone please let me know all the possible meta data fields that can be extracted from a MS Word .docx document using the ExifTool and also guide me as to how to do so. I would also like to know how to save the meta data in pdf from the ExifTool.

Many thanks
#78
Developers / Re: ask for metadata type
Last post by elhiero - March 19, 2025, 07:05:39 PM
Ok I hadn't thought of listx , thank you!  But it's apparently a job that will exceed my skills, I'll convert everything to text and use the text comparison operators ...  :-[
#79
Developers / Re: ask for metadata type
Last post by StarGeek - March 19, 2025, 06:08:40 PM
Quote from: elhiero on March 19, 2025, 02:50:05 PMhe writes IPTC:Title

There is no "IPTC:Title" tag. There's the XMP:Title which is part of the Dublin Core and the IPTC Photo Metadata Standard. The corresponding tag for XMP:Title is IPTC:ObjectName.

See the -listx option which outputs all the tags in XML, but be aware, the output is extensive.

A snippet of the XML using the command
exiftool -listx -s -f
<table name='IPTC::ApplicationRecord' g0='IPTC' g1='IPTC' g2='Other'>
 <tag id='0' name='ApplicationRecordVersion' type='int16u' writable='true' flags='Mandatory'/>
 <tag id='3' name='ObjectTypeReference' type='string' count='67' writable='true'/>
 <tag id='4' name='ObjectAttributeReference' type='string' count='68' writable='true' flags='List'/>
 <tag id='5' name='ObjectName' type='string' count='64' writable='true'/>
 <tag id='7' name='EditStatus' type='string' count='64' writable='true'/>
 <tag id='8' name='EditorialUpdate' type='digits' count='2' writable='true'/>
 <tag id='10' name='Urgency' type='digits' count='1' writable='true'/>
 <tag id='12' name='SubjectReference' type='string' count='236' writable='true' flags='List'/>
 <tag id='15' name='Category' type='string' count='3' writable='true'/>
 <tag id='20' name='SupplementalCategories' type='string' count='32' writable='true' flags='List'/>
 <tag id='22' name='FixtureIdentifier' type='string' count='32' writable='true'/>
 <tag id='25' name='Keywords' type='string' count='64' writable='true' flags='List'/>
#80
Developers / ask for metadata type
Last post by elhiero - March 19, 2025, 02:50:05 PM
Hi all
In the software I'm developing (GUI for ExifTool), I propose that the user build an IF instruction for exiftool.
For example, there's a "metadata" field where he writes IPTC:Title , and a "Value" field where he writes 'Victory'.
Between these two fields, I'll propose to add the operators eq, ne, ge, gt, ...
If he's chosen Exif:Aperture# and 2.8, I have to propose the operators ==, >, >= ...
Can I easily query exiftool to determine whether IPTC:Title, or Exif:Aperture, or any other metadata is text or numeric type?

Translated with DeepL.com (free version)