Skip navigation
Currently Being Moderated

Can I automatically assign working profile when I open an unprofiled doc?

Jun 20, 2012 8:49 AM

I render in 3ds Max and output .exr files.  Whenever I open them the dialoge box pops up to ask me if I'd like to assign a working profile or assign a specific profile.  Is there some way that I can tell PS to just always assign a working profile so I don't always have to go through that dialoge box?

 

-Brodie

 
Replies
  • Currently Being Moderated
    Jun 20, 2012 8:56 AM   in reply to brodie_geers

    I’m afraid that would best be done with a Script that is linked to the opening event with File > Scripts > Script Event Manager.

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 20, 2012 9:27 AM   in reply to brodie_geers

    Assumed, your 3dsMax images are always in sRGB and you want image

    processing in sRGB, then you can simply use standard Color Settings

    as shown below.

    If you save the original or modified image, then the profile sRGB is included,

    unless it's not stripped on purpose.

     

    A least, I think so...

     

    Best regards --Gernot Hoffmann

     

    Csettings.png

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 21, 2012 2:26 AM   in reply to brodie_geers

    The Script could be something like this (in this case it’s sRGB you may have to change that to the profile you prefer)

    // 2012, use it at your own risk;

    #target photoshop

    if (app.documents.length > 0) {

    var myDocument = app.activeDocument;

    try {var theProfile = myDocument.colorProfileName}

    catch (e) {

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

    // =======================================================

    var idassignProfile = stringIDToTypeID( "assignProfile" );

        var desc3 = new ActionDescriptor();

        var idnull = charIDToTypeID( "null" );

            var ref1 = new ActionReference();

            var idDcmn = charIDToTypeID( "Dcmn" );

            var idOrdn = charIDToTypeID( "Ordn" );

            var idTrgt = charIDToTypeID( "Trgt" );

            ref1.putEnumerated( idDcmn, idOrdn, idTrgt );

        desc3.putReference( idnull, ref1 );

        var idprofile = stringIDToTypeID( "profile" );

        desc3.putString( idprofile, """sRGB IEC61966-2.1""" );

    executeAction( idassignProfile, desc3, DialogModes.NO );

    }

    }

    };

     

    And in Script Events Manager the saved Script can be linked to the open-event.

    scripteventmanager.jpg

     

    Edit: And to avoid the dialog you would probably turn off the missing profile warning in the Color Settings.

     
    |
    Mark as:
  • Noel Carboni
    21,326 posts
    Dec 23, 2006
    Currently Being Moderated
    Jun 21, 2012 4:59 AM   in reply to c.pfaffenbichler

    Sorry, I misunderstood the question and I've deleted my incorrect answer.

     

    -Noel

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 21, 2012 5:41 AM   in reply to Noel Carboni

    Sorry, my suggestion #2 was wrong (my test file had unintentionally

    sRGB embedded).

     

    In order to avoid the Script solution, one may proceed as follows:

     

    1. Color settings:    sRGB

    2. Missing profiles: Don't ask when opening

    3. Save:                   Check Embed profile (which is now sRGB)

     

    The extra effort is nothing more than step No.3

     

    Of course, if an image doesn't have an embedded profile, the best

    guess is 'colorspace sRGB'.

     

    Best regards --Gernot Hoffmann

     
    |
    Mark as:
  • Currently Being Moderated
    Feb 14, 2013 6:28 AM   in reply to Gernot Hoffmann

    Sorry for this stupid question: why in missing profile panel there is only assign and not convert to profile?

    Why this? I do not understand, sorry.

     

    Screen Shot 2013-02-14 at 3.07.44 PM.png

     
    |
    Mark as:
  • Currently Being Moderated
    Feb 14, 2013 6:34 AM   in reply to Folobo

    When a file has no profile attached the basis of a conversion would be the Working Space; what good would that be if one does not know if that was the original space?

     
    |
    Mark as:
  • Currently Being Moderated
    Feb 14, 2013 6:36 AM   in reply to Folobo

    Conversion needs a profile to convert from so assigning a profile is the first step to doing a conversion or even just displaying the color numbers properly using the monitor profile.

     
    |
    Mark as:
  • Currently Being Moderated
    Feb 14, 2013 6:52 AM   in reply to ssprengel

    @c.pfaffenbichler Thanks! I understand.

    @ssprengel Thanks but i'm studpid and i do not understand: if open an image with "leave as is" i do not assign a profile. But after this step i'm in photoshop with the image open (without profile) i can convert. Why i can not do this before?

     
    |
    Mark as:
  • Currently Being Moderated
    Feb 14, 2013 9:18 AM   in reply to Folobo

    When your document doesn’t have a color profile the working space is ASSUMED if you want to explicitly convert to another profile.

     

    Your initial question is why you can’t convert to a profile in the Missing Profile panel.  Well you can, if you select the last option, but the only profile you can convert to is the working profile.  Are you wanting to convert to another besides the working profile from the Missing Profile panel?

     
    |
    Mark as:
  • Currently Being Moderated
    Feb 14, 2013 9:20 AM   in reply to ssprengel

    @ssprengel Many thanks. Now i have understand.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points