Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Applescript—cannot embed ICC profiles in Illustrator save options

Community Beginner ,
Jun 17, 2024 Jun 17, 2024

Has anyone else ran into this issue, and possibly have a workaround?

 

Using the following Applescript in macOS 14.5 and Illustrator 27.x or 28.5, I am unable to save an Illustrator file with an embedded ICC profile. The file saves, but the profile does not remain embedded. 

save document 1 in filePath as Illustrator with options {embed icc profile:true}

I have verified that a) the ICC profile was already embedded in the source document, and that if I save the file via the GUI, checking the box to save the ICC profile works. Using AppleScript to save the Illustrator file does not retain the ICC profile.

I also posted this on Macscripter. I believe this to be a bug and will submit that report soon.

TOPICS
Bug , Import and export , Print and publish , Scripting
977
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
Community Beginner ,
Jun 17, 2024 Jun 17, 2024

here's a more precise script should anyoe want to try it on their own: 

tell application id "ART5"
	save document 1 in "~/Desktop/testFile.ai" as Illustrator with options {embed icc profile:true}
end tell
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Jun 18, 2024 Jun 18, 2024

I can confirm this issue (28.5), and would agree it’s a bug.

 

Have you tried the same script in JSX? AI’s AS and JS APIs share a lot of common plumbing so chances are it’s affected too, and this should increase priority for a fix.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jun 18, 2024 Jun 18, 2024

Thanks for confirming!
I tried to recreate in JSX but I'm too novice to make it work.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jun 28, 2024 Jun 28, 2024

I am working with Adobe Support to file a bug

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 10, 2024 Dec 10, 2024

6 month later, that bug seems still to be there. I have a similar problem.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 11, 2024 Dec 11, 2024

Edit: "close doc saving yes" instead of "save doc as..." keeps the icc profile as it was if there was any at the beginning. maybe this helps as a little workaround.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Dec 12, 2024 Dec 12, 2024

Thanks, I'll try that!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
May 05, 2025 May 05, 2025
LATEST

I wasn't able to find any workaround.

I submitted a bug report for this. Please help by upvoting it.
https://illustrator.uservoice.com/forums/601447-illustrator-desktop-bugs/suggestions/49839756-apples...

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines