Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
Thanks for confirming!
I tried to recreate in JSX but I'm too novice to make it work.
Copy link to clipboard
Copied
I am working with Adobe Support to file a bug
Copy link to clipboard
Copied
6 month later, that bug seems still to be there. I have a similar problem.
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
Thanks, I'll try that!