Hello,
I have an Adobe Illustrator vectorial file (a PDF actually) where ExifTool fails to find the color profile.
I've verified with the PDF inspector of Adobe Acrobat that the object containing the color profile is present and with the right value.
The Illustrator file is attached as a zip file (prova.ai.zip).
I've also attached the screenshot of the PDF inspector showing the obejcts containing the color profile.
Exif tool version is 12.30.
Below the out of same command with the bad file and with a good file.
exiftool -ProfileDescription -FileType -FileTypeExtension prova.ai
File Type : AI
File Type Extension : ai
exiftool -ProfileDescription -FileType -FileTypeExtension good_file.ai
Profile Description : Coated FOGRA39 (ISO 12647-2:2004)
File Type : AI
File Type Extension : ai
If you need any other information or else, just let me know.
Best regards,
Luca Severini
Hi Luca,
I don't know why most files store the profile in a "Cs1" object, but your example stores it in a "CS0" object. I'll add support CS0 in the next release.
Thanks for this report.
- Phil
Hello,
The version history states that version 12.31 (and 12.33 too, I suppose) should extract ICC_Profile from CS0 object in PDF files.
I just tried with the latest version 12.33 but it still doesn't find the color profile in object CS0.
The command exiftool -ver -ProfileDescription -FileType -FileTypeExtension prova.ai outputs no color information:
12.33
File Type : AI
File Type Extension : ai
I used the same file prova.ai I attached in my first post.
Changing the file extension to .pdf made no difference.
If I'm not making any mistake, it seems not to work.
Best regards,
Luca
Hi Luca,
You're right. I tested this only with the -v option, and it works then.
For speed reasons, ExifTool doesn't process all PDF objects unless -v is used. I'll have to check and see why it doesn't get down to the ICC_Profile object without -v.
- Phil
Hi Phil,
Confirmed it works with -v.
Thank you!
Luca
I figured it out. This will be fixed in ExifTool 12.34 so -v won't be needed.
- Phil
Great!
Thank you Phil!
Luca