Skip to main content
Participant
November 2, 2023
Question

How to get the value of adjustment layer Exposure.

  • November 2, 2023
  • 2 replies
  • 817 views

 



Hi all,
I want to get the values of  exposure offset and gamma correction from the adjustment layer exposure.

I would really appreciate any thoughts/suggestions on the matter.

 

Thanks all.

This topic has been closed for replies.

2 replies

Stephen Marsh
Community Expert
Community Expert
November 4, 2023

There are probably 5 forum regulars with the advanced knowledge and experience of Action Manager coding who can answer this question... And I'm not one of them.

josantgomez
Legend
November 4, 2023
It is a fine display of communication. I'm here to learn. When I don't know something, I investigate for learning and sometimes to help.
I am enriched by the answers of people like you and I learn when someone asks and I look for the answer, if I don't know it. 

 

I am always grateful to those who use elegance to explain my mistakes to me.
Stephen Marsh
Community Expert
Community Expert
November 4, 2023

I wish that I could help and I am always impressed when one of the forum members with such knowledge posts with this esoteric information.

 

Add a new adjustment layer and set values = Pretty easy (script or action)

Get and or modify existing adjustment layer values = Much harder (script only, not via action)

 

I hope that by bumping this discussion that it appears on the radar of somebody that does know.

 

Edit: A couple of example topics showing that this isn't a trivial request to "get" the value of "something".

 

 

josantgomez
Legend
November 2, 2023

Con el valor de exposición ajustas a tu gusto las altas luces. Con el de gamma , los tonos medios.

Vienes a ser como ajustar el Brillo, p.ej., pero con él se afecta toda la imagen, mientras que en tu caso sólo ajustas  la parte derecha del histograma, altas luces, y con gamma su zona central, medios tonos.  Son ajustes selectivos, afectando parcialmente a la imagen según uses uno u otro, y a tu modo

josantgomez
Legend
November 4, 2023

Quizá esto resulte más útil a la vista de lo comentado para Loading99, aunque imagino que esta búsqueda ya la has hecho.

 https://photographypla.net/introduction-exposure-adjustment-layers-photoshop/

Siento haberte originado algún inconveniente con mi publicación, si es así.  (No me había dado cuenta de que el hilo estaba circunscrito a Acciones y scripts. ¡Sorry!)

Stephen Marsh
Community Expert
Community Expert
November 5, 2023
quote

I'm sorry to have caused you any inconvenience with my post, if so.  (I didn't realize that the thread was limited to Actions & Scripts.


By @josantgomez

 

It isn't possible to retrieve adjustment layer values programmatically via an action, but it is possible via a script... However, standard "easy" DOM scripting code can't retrieve the values of an adjustment layer, it takes more advanced "secret" AM (Action Manager) code to do so (or perhaps using JSON?).