0
Enthusiast
,
/t5/illustrator-discussions/embed-the-working-profile-in-an-open-document-via-a-javascript-script-before-saving/td-p/15228249
Mar 24, 2025
Mar 24, 2025
Copy link to clipboard
Copied
Hi -
I'd like to force to embed a profile into the currently open document, before saving it.
That profile is "Working CMYK: Coated FOGRA39 (ISO 12647-2:2004)"
I try this but apparently it doens't work:
var aiSaveOptions_DC = new IllustratorSaveOptions();
aiSaveOptions_DC.embedICCProfile = true; // Ensure ICC profile is embedded
aiSaveOptions_DC.colorProfileID = ColorProfile.COATEDFOGRA39; // Set the CMYK profile to "Coated FOGRA39 (ISO 12647-2:2004)"
Many thx for any help.
Enjoy your day.
- Dimitri
TOPICS
Scripting
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
1 Correct answer
Enthusiast
,
Mar 24, 2025
Mar 24, 2025
Hello…
I figured out…
The correct answer to embed the "Working CMYK: Coated FOGRA39 (ISO 12647-2:2004)" is:
var pdfExportLowOptions_DC = new PDFSaveOptions();
pdfExportLowOptions_DC.pDFPreset = lowResPresetName_DC;
pdfExportLowOptions_DC.colorProfileID = ColorProfile.INCLUDEALLPROFILE;
My mistake, since I copy-paste the code generated by ChatGPT (without really checking)…
cheers
- Dimitri
Explore related tutorials & articles
Enthusiast
,
LATEST
/t5/illustrator-discussions/embed-the-working-profile-in-an-open-document-via-a-javascript-script-before-saving/m-p/15228615#M438665
Mar 24, 2025
Mar 24, 2025
Copy link to clipboard
Copied
Hello…
I figured out…
The correct answer to embed the "Working CMYK: Coated FOGRA39 (ISO 12647-2:2004)" is:
var pdfExportLowOptions_DC = new PDFSaveOptions();
pdfExportLowOptions_DC.pDFPreset = lowResPresetName_DC;
pdfExportLowOptions_DC.colorProfileID = ColorProfile.INCLUDEALLPROFILE;
My mistake, since I copy-paste the code generated by ChatGPT (without really checking)…
cheers
- Dimitri
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

