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

Spot channels convert to rgb mode

New Here ,
Oct 05, 2020 Oct 05, 2020

Copy link to clipboard

Copied

Hello everyone, I want to convert the document containing spot channels to RGB mode. I need a script for this.

TOPICS
Actions and scripting

Views

273

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
Adobe
Community Expert ,
Oct 05, 2020 Oct 05, 2020

Copy link to clipboard

Copied

Is »Merge Spot Channels« good enough? 

 

»I need a script for this.«

So what is the problem? 

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 ,
Oct 05, 2020 Oct 05, 2020

Copy link to clipboard

Copied

var doc = app.activeDocument;
MergeSpotChannels();
function MergeSpotChannels(){
    var spotChannels = [];
    for(var channelIndex = 0; channelIndex<doc.channels.length;channelIndex++){
        if(doc.channels[channelIndex].kind == ChannelType.SPOTCOLOR){
            spotChannels.push(doc.channels[channelIndex]);
        }
    }
    doc.activeChannels = spotChannels;
    executeAction( charIDToTypeID('MSpt'), undefined, DialogModes.NO );
};

This script works on documents containing Rgb + Spot channels. I just need a script that converts documents containing spot channels to rgb.  my english is not good I'm sorry :))

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
Community Expert ,
Oct 05, 2020 Oct 05, 2020

Copy link to clipboard

Copied

Please elaborate on the images you are talking about? 

Are they Multichannel, CMYK, …? 

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 ,
Oct 05, 2020 Oct 05, 2020

Copy link to clipboard

Copied

Multichannel

 screenshot.jpg

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
Community Expert ,
Oct 05, 2020 Oct 05, 2020

Copy link to clipboard

Copied

LATEST

You could add three new channels, move them to the top of the list and convert the image to RGB at the beginning of the Script. 

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