ExifTool Forum

ExifTool => Newbies => Topic started by: flyhouse on May 01, 2021, 04:46:45 PM

Title: How to check if an .ai file is embedded on a pdf file
Post by: flyhouse on May 01, 2021, 04:46:45 PM
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
Title: Re: How to check if an .ai file is embedded on a pdf file
Post by: StarGeek on May 01, 2021, 05:14:50 PM
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