How to check if an .ai file is embedded on a pdf file

Started by flyhouse, May 01, 2021, 04:46:45 PM

Previous topic - Next topic

flyhouse

Dear Forum,
pleased to meet all fo you, I just sign to this forum and
, I put beforehand,  I am a newby both on Adobe Illustrator and exiftool, nevertheless I would like to ask the following question.
From the Illustrator side I learned it is possible to use a pdf file as native format if I click on save as pdf button and check the  "Preserve Illustrator Editing Capabilities" option. Technically what is produced is a pdf container which contains inside both a pdf file and an ai file.  In this way all the Illustrator's object are safely stored on this enlarged pdf file.
My question is :
is there a quick way to inspect a pdf file ( with exiftool ) and tells if it is a "normal" pdf file or a pdf file saved with "Prserver Illustrator Editing Capabilities "?
Hoping to have clearly explained my question.
Best Regards

StarGeek

If you have a sample with and without the embedded AI, you could try this command on them and see if there's a difference
exiftool -G1 -a -s -ee WithAI.pdf WithoutAI.pdf
* Did you read FAQ #3 and use the command listed there?
* Please use the Code button for exiftool code/output.
 
* Please include your OS, Exiftool version, and type of file you're processing (MP4, JPG, etc).