ExifTool Forum

ExifTool => Bug Reports / Feature Requests => Topic started by: thorsted on April 10, 2023, 02:18:14 PM

Title: PDF reporting enhancements
Post by: thorsted on April 10, 2023, 02:18:14 PM
Wondering if it would be possible to have exiftool report back on wether:

PDF has incremental updates (multiple EOF markers)
PDF has 3D/RichMedia content (embedded AV or 3D Models)
Title: Re: PDF reporting enhancements
Post by: Phil Harvey on April 10, 2023, 02:33:19 PM
Quote from: thorsted on April 10, 2023, 02:18:14 PMPDF has incremental updates (multiple EOF markers)

Maybe try this: grep -c %%EOF FILE

QuotePDF has 3D/RichMedia content (embedded AV or 3D Models)

Maybe this for the RichMedia? exiftool -v FILE | grep RichMediaContent

I'm not sure about the 3D, but you should be able to figure out something.

- Phil
Title: Re: PDF reporting enhancements
Post by: thorsted on April 10, 2023, 04:02:43 PM
Thanks Phil, I'll give that a try.

Any chance getting metadata like this available through the XML output? I have a workflow running which parses the XML.

Thanks.
Title: Re: PDF reporting enhancements
Post by: Phil Harvey on April 10, 2023, 07:21:58 PM
Adding the ability to do either of these would add significant extra processing overhead, which would slow things down for all other uses.  At the moment, I don't see that it is worth the trade-off.

- Phil
Title: Re: PDF reporting enhancements
Post by: thorsted on April 10, 2023, 10:42:46 PM
Is there an option to use verbose and XML together? Verbose has everything thing I need, even gives me a count of the PDF dictionaries!

Title: Re: PDF reporting enhancements
Post by: Phil Harvey on April 11, 2023, 09:49:57 AM
The -v and -X options don't work together, but you could do something like this:

exiftool -v -w verbose -execute -X -w xml -common_args FILE

This will create .verbose and .xml output files for each input FILE.

- Phil