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

Convert Profile getting problem?

Engaged ,
Dec 08, 2015 Dec 08, 2015

Copy link to clipboard

Copied

Hi,

I convert one image RGB to CMYK using Profile LAN320.icc. However the embedded profile was not tagged. its still shows untagged.

Please explain Why..?

-yajiv

Screen Shot 2015-12-08 at 3.21.41 PM.png

TOPICS
Actions and scripting

Views

750

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

correct answers 1 Correct answer

Community Expert , Dec 14, 2015 Dec 14, 2015

Set the Color Settings to "Preserve Embedded Profiles" if they are not – I should have thought of that earlier …

Votes

Translate

Translate
Adobe
Guide ,
Dec 08, 2015 Dec 08, 2015

Copy link to clipboard

Copied

Hi Yajiv,

Screen shot 2015-12-08 at 3.43.37 PM.png

set this boolean value as TRUE

Thanks,

karthi

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
Engaged ,
Dec 08, 2015 Dec 08, 2015

Copy link to clipboard

Copied

Thanks for the Reply karthi,

Already I tried but its not working.

-yajiv

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 ,
Dec 09, 2015 Dec 09, 2015

Copy link to clipboard

Copied

Please post the (relevant section of the) Script in question.

Which format do you save the image as?

Please post a screenshot of the opened image with the statue bar set to display "Document Profile".

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
Engaged ,
Dec 10, 2015 Dec 10, 2015

Copy link to clipboard

Copied

Hi Chris,

Thanks for you reply. I have received the RGB image and I convert to CMYK using LAN320 profile.


However the embedded profile was not tagged. its still save dialog window shows untagged.


Code:


var log=""

CheckColorProfile();

alert(log);

function CheckColorProfile(){

    var docRef = app.activeDocument;

    try{

        if(docRef.mode==DocumentMode.RGB){

            if(docRef.colorProfileName!="LAN320"){

                docRef.convertProfile("Working CMYK", Intent.ABSOLUTECOLORIMETRIC, true, true);

                log=log+"- Color profile was changed into LAN320!\n\n";

                }

            }

        }//Try

        catch(er){

            // If receive any untagged profile

            docRef.convertProfile("Working CMYK", Intent.ABSOLUTECOLORIMETRIC, true, true);

                        log=log+"- Image has untagged LAN320 color profile!\n\n"

        }

    }

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 ,
Dec 10, 2015 Dec 10, 2015

Copy link to clipboard

Copied

The Save As dialog is where one sets whether the Profile should be embedded or not. (edited)

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
Engaged ,
Dec 13, 2015 Dec 13, 2015

Copy link to clipboard

Copied

Hi Chris,

Thanks for reply.

If I convert one RGB image to CMYK image, then the cmyk profile embedded that file. Is it right.?

Since my Photoshop document convert to CMYK but the CMYK Profile was untagged...

Please help me out this problem...

-yajiv

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 ,
Dec 14, 2015 Dec 14, 2015

Copy link to clipboard

Copied

When you convert an image to a Color Space that profile should then be known, whether it will be embedded with the file and thus be "remembered" when opening it next can be determined at "Save As".

But to be sure please post a screenshot (taken immediately after the conversion) with the Status Bar set to "Document Profile".

statusBarDocumentProfile.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
Engaged ,
Dec 14, 2015 Dec 14, 2015

Copy link to clipboard

Copied

Hi Chris,

Thanks for the prompt reply. Please find the screen shot images.

1. Source Image:

Screen Shot 2015-12-14 at 2.43.33 PM.png

2. During the Profile conversion:

Screen Shot 2015-12-14 at 2.44.15 PM.png

3. After the Profile conversion:

Screen Shot 2015-12-14 at 2.44.31 PM.png

Profile not tagged with the LAN320 CMYK Profile...


-yajiv

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 ,
Dec 14, 2015 Dec 14, 2015

Copy link to clipboard

Copied

What are your Edit > Color Settings?

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 ,
Dec 14, 2015 Dec 14, 2015

Copy link to clipboard

Copied

Set the Color Settings to "Preserve Embedded Profiles" if they are not – I should have thought of that earlier …

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
Engaged ,
Dec 14, 2015 Dec 14, 2015

Copy link to clipboard

Copied

LATEST

Hi Chris,

Its working fine and Thank you so much for your help.

Thanks in advance.

-yajiv

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 ,
Dec 14, 2015 Dec 14, 2015

Copy link to clipboard

Copied

If you want the Script to check for that setting you can use something like this

// 2015, use it at your own risk;

#target photoshop

var ref = new ActionReference();

ref.putProperty (stringIDToTypeID ("property"), stringIDToTypeID ("colorSettings"));

ref.putEnumerated( charIDToTypeID("capp"), charIDToTypeID("Ordn"), charIDToTypeID("Trgt") );

var applicationDesc = executeActionGet(ref);

var cmykPolicy = applicationDesc.getObjectValue(stringIDToTypeID("colorSettings")).getEnumerationValue(stringIDToTypeID("policyCMYK"));

alert (typeIDToStringID(cmykPolicy));

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