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

RGB to CMYK conversion using Acrobat's Javascript API

New Here ,
Jun 03, 2016 Jun 03, 2016

Copy link to clipboard

Copied

I am using Acrobat Javascript API to run a color conversion operation (this.colorConvertPage) but there is no option to mimic all the configurations available in the Color Convert dialog.

For "Preserve Black" I can use the preserveBlack option from colorConvertAction object. However, there is no option on colorConvertAction to do what  "Promote Gray To CMYK Black" does.

Using just Preserve Black all DeviceGray objects are mapped to rich blacks on CMYK, but using Promote Gray To CMYK Black does what I want, no rich blacks.

Any ideas?

TOPICS
Acrobat SDK and JavaScript

Views

1.3K

Translate

Translate

Report

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
Advocate ,
Jun 03, 2016 Jun 03, 2016

Copy link to clipboard

Copied

The color converting is a serious mess, because it has a considerable number of features covered only by either the dialog or JavaScript, but not both.

You may check whether the convert color Preflight fixup would work, and then you could create a Preflight profile which you can call using JavaScript.

Hope this can help.

Votes

Translate

Translate

Report

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 ,
Jun 03, 2016 Jun 03, 2016

Copy link to clipboard

Copied

Yes, it is really messy. I am looking to create a custom preflight fixup for this, it is the only way I see total control in this process.

Thanks,

Votes

Translate

Translate

Report

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 29, 2016 Dec 29, 2016

Copy link to clipboard

Copied

LATEST

Having exactly the same issue. Hundreds of unprintable PDF waiting for me to have them offset cmyk printable.

Unfortunately I did nof find a way to get the "Promote Gray To CMYK Black" option in any preflight fixup.

Anyone did??

Would really help!

Votes

Translate

Translate

Report

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