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

Camera Raw Filter defaults to previous edits when called from action

Engaged ,
Nov 08, 2024 Nov 08, 2024

When called from an Action, Camera Raw Filter applies the masks and the swatches in Color Mixer (and probably others I haven’t used/noticed) that were used the last time it was thus called … even when other images have been processed through ACR in the meantime.

 

An example is attached, where the mask applied to a previous image (about 10 images ago) can be clearly seen.

TOPICS
Actions and scripting , Windows
4.7K
Translate
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 , Jan 30, 2025 Jan 30, 2025
quote

I get a syntax error executing that in Visual Studio Code (within a test program I have).  I tried running the entire code sequence of the call (copied from ScriptListener) and that gave a syntax error too.  Mystifying!


By @FitzFoto

 

Works for me when executed in Photoshop.

 

You can also try this:

 

try {
    executeAction(stringIDToTypeID("Adobe Camera Raw Filter"), undefined, DialogModes.ALL);
} catch (error) { 
    //alert("Error!" + "\r" + error + "\r" + 'Line: ' + error.line);
}

 

Translate
Adobe
Adobe Employee ,
Nov 08, 2024 Nov 08, 2024

Hey, @FitzFoto. Welcome to the Photoshop Community. I'll move your response to discussions for now. I'll need more info to help you figure this out. Please share the system info from Photoshop Help > System info > Copy and paste into a text document > upload and attach here. Actions are custom workflow, and it'll help if you export and share the action file for us to test this.

 

@FitzFoto  wrote: about 10 images ago

Is there an exact number of images after which the issue appears? I'll move the thread to discussions and see if we can recreate the issue. 

 

Thanks! 
Sameer K

(Use '@mention' to tag me when you reply)

Translate
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 ,
Nov 09, 2024 Nov 09, 2024

System info attached, together with screenshot of Action.

 

The number of images appears not to be material.

 

@Sameer K 

Translate
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 ,
Nov 09, 2024 Nov 09, 2024

Results of further experimentation:

 

1) Opening an image in the CRF from an Action and deleting the masks that reappear, then creating a Sky mask causes the previous Sky mask to be reinstated.  See attached Screenshot (note this is an inverted Sky mask to show the offset).

 

2) Calling the CRF from the menu (i.e., not from an Action) appears to reset the default, and no masks of swatches are evident when the CRF is again called from an Action.

 

@Sameer K 

Translate
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 ,
Jan 24, 2025 Jan 24, 2025

@Sameer K and others interested in this topic, you may wish to take a look at a previous discussion here:

 

https://community.adobe.com/t5/photoshop-ecosystem-discussions/ai-camera-raw-masks-not-re-computed-w...

 

Translate
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 ,
Jan 26, 2025 Jan 26, 2025

@Stephen Marsh The Action was not recorded, the call to the CRF was inserted using the "Insert Menu Item ..." command.

Translate
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 ,
Jan 26, 2025 Jan 26, 2025
quote

@Stephen Marsh The Action was not recorded, the call to the CRF was inserted using the "Insert Menu Item ..." command.


By @FitzFoto


Ah, then that's not what I would expect!  ;]

Translate
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 ,
Jan 26, 2025 Jan 26, 2025

Hi @Sameer K@D Fosse et al

A belated update: having cleaned a scanned slide of spots and scratches using ACR called from my Action, I then called the Action on a new file only to find the replaced pixels (very noticable as they were blue sky) superimposed on that image which was a portrait.

Translate
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 ,
Nov 08, 2024 Nov 08, 2024

Can you expand the action step and see what is actually recorded in the action?

Translate
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 ,
Nov 09, 2024 Nov 09, 2024

See  attachment to my reply to Sameer K.

Translate
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 ,
Nov 09, 2024 Nov 09, 2024

@FitzFoto 

I meant with the ACR filter step expanded, so we can see what ACR settings are actually recorded in the action.

Translate
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 ,
Nov 09, 2024 Nov 09, 2024

There are no ACR settings recorded in the Action, it is simply a call to the Menu item Camera Raw Filter.

Translate
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 ,
Nov 09, 2024 Nov 09, 2024

That sounds like you may have recorded the top item in the menu, which is actually Last Filter - but it will say Camera Raw filter if that was the last used when the action was recorded. Crucially, that will record the specific settings that were last used.

 

You want to go a little further down in the menu, where you find the "proper" Camera Raw Filter command.

 

Yes, it's misleading and confusing. Last filter should be called just that, consistently.

Translate
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 ,
Nov 10, 2024 Nov 10, 2024

No, definitely the Camera Raw Filter ... [Shift+Ctrl+A] menu entry.  I have just re-entered that command into the Action and the effect remains the same.

Translate
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 ,
Nov 10, 2024 Nov 10, 2024

OK. I finally thought I had the explanation there... 😕

 

I have several actions using the ACR filter, that I use daily, and I've never seen this. I've been looking specifically for it since this came up. That said, I never use ACR for masking. I don't trust it, too automatic and AI'y for my taste.

 

But I really would like to know what's going on here.

Translate
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 ,
Nov 10, 2024 Nov 10, 2024

17.0.0.2043 gives me good results on masking, but I generally use only Sky (of the AI-enabled facilities) and then Brush.

 

Could you please try an Action with a simple call to CRF (I'm using these initials to avoid any confusion with ACR as it is called by a raw file), create a mask and exit, then call the Action from another image?

 

I'm going to try with PS2024 and will revert, but I'm processing a load of images from Big Sur and don't want to mess about uninstalling 2025 and installing 2024 until I'm done with that.

 

Let's hope @Sameer K comes up with something.

Translate
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 Employee ,
Nov 12, 2024 Nov 12, 2024

Thanks for your patience. I am confident that this is expected behavior, as the recorded action is in the picture. I am discussing this with the broader team.

 

As our expert, @D Fosse, pointed out, if you expand the action panel in the List view, you'll notice that Local adjustment values (including mask data) are included in the action. 

 

 

This means the action contains the exact mask values from the first image, and playing the same action again will recreate the Mask from the source image. 

 

Also, when you double-click the action to open Camera RAW Filter, it goes into re-recording mode, so if you delete the masks, you delete the whole Local Adjustments value included in the action. 

 

 

On a different image, if you use CRF from the Filters menu, you initiate a new event, and the Mask is calculated from scratch, resulting in a correct/expected mask. 

 

I hope this helps. 
Thanks!
Sameer K

(Use '@mention' to tag me when you reply)

Translate
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 ,
Nov 14, 2024 Nov 14, 2024

Why should calling CRF from an Action (using the Inserted menu item: Camera Raw Filter... , note, not a topmost 'Camera Raw Filter' entry in the Filter list) cause the reappearance of a mask used in a previous edit in ACR called from an Action, when that behavior is not the case where CRF called directly from the menu?

 

I am sorry, but I have no idea where the "List view" is that you have extracted the first image from.  Please point me.

 

@Sameer K 

Translate
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 ,
Nov 14, 2024 Nov 14, 2024

@FitzFoto 

Actually it does look like a mask is recorded in the action. This is the screenshot you included in your first attachment, which I missed entirely:

acr_mask.png

Translate
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 ,
Jan 24, 2025 Jan 24, 2025

Apologies for the long delay in responding.

 

The mask you have highlighted is a layer mask and is blank.

Translate
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 ,
Nov 25, 2024 Nov 25, 2024

I am having a similar issue using ACR from Adobe Bridge. New masks are coming up with settings from previous masks. Only started happening since last update a few weeks ago?

 

Translate
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 ,
Jan 24, 2025 Jan 24, 2025

Have you tried using »Insert Menu Item« instead of recording the Filter application? 

Please post a screenshot of the fully expanded Action in the Actions Panel. 

Translate
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 ,
Jan 24, 2025 Jan 24, 2025

Whom are you asking, me or @brianp98019482 @?

 

If me, your question and request were addressed previously.

Translate
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 ,
Jan 24, 2025 Jan 24, 2025

I fail to see the screenshot.

Translate
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 ,
Jan 26, 2025 Jan 26, 2025

It's there.  Look in D Fosse's post of 14 November.

Translate
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