Skip to main content
Inspiring
November 3, 2021
Question

Photoshop SDK - custom adjustment layer

  • November 3, 2021
  • 6 replies
  • 1212 views

Hello

 

I'm in need of developing custom adjustment layer to server my clients/my needs. Does photoshop SDK allow for this now ? I found this question from a while back > Does the Photoshop SDK support custom adjustment layers?

 

I'm wondering if there is any... update on it?

 

Regards

Dariusz

 

This topic has been closed for replies.

6 replies

Legend
December 1, 2021

Why not write a custom filter and apply it to Smart Objects?

Inspiring
December 1, 2021

We have psb files with 500 layers. No1 is going to "flatten the comp to smart object it up to apply a filter". 

We need a proper custom adjustment layer that we can develop/use. 

It has to be dynamic layer. 

Legend
December 1, 2021

Does the SDK include an adjustment layer object? If not then you are probably out of luck.

Inspiring
December 1, 2021

bump :- )

Chuck Uebele
Community Expert
Community Expert
November 20, 2021

I'm not sure if this will work or do what you want, but with scriptListener, you can record creating a curve with the pencil tool. This will give you code to access all 256 values in the curve. Then you take this code and apply your equation to set each point. Up to this point, I know it works, but you then can maybe get the code to convert the curve from penci6mode to the standard mode. Here's a shot of a curve I did using a sine wave formula to change the value of a displacement map.

 

Inspiring
November 20, 2021

Hey

This is pretty awesome ! 

But also pretty... "not good" as we are dropping down our precision from float/double down to uint8, 0-255... I mean... I need precision. The reason why I want to make custom adjustment layer is because photoshop native tools are quite bad in todays day. 

 

Can you maybe share source for this ? I saw some snippets here and there for curve control, but in general its a wee dodgy... 

Example would help lots ^^ 

Thank you for help & ideas!

 

 

Chuck Uebele
Community Expert
Community Expert
November 20, 2021

I will see if I can find my old script for this, later today. 

Inspiring
November 20, 2021

bump

Kukurykus
Legend
November 4, 2021
Inspiring
November 11, 2021

Hello

Thank you for this post.

I've gone over it, quite itneresting... I have to re-read it again. But as far as I can tell its more about level/curve editing that writing a custom glsl/etc shader to run in photoshop.

 

I dont think that will help me as I need an adjustment node & allow artist to palce it where they want to & set its color values to what they want to...

 

 

Nancy OShea
Community Expert
Community Expert
November 3, 2021

Can't you record adjustments in the Actions Panel?

Creating actions

Nancy O'Shea— Product User & Community Expert
Inspiring
November 3, 2021

Photoshop does not have adjustment I need it to have... so I need to build my own custom adjustment that affect pixels...

I need to do specific pixel manipulation, really its just a very complex hue/sat/curve/expo/etc stuff. But there are no native adjustments from photoshop that are able to provide what I need to develop/provide. It has to be adjustment as we want to see it dynamically affect layer below adjustment & allow for multiple adjustments.

 

Thats why I'm staying away from effects for now as they are destructive... :- ( 

Any ideas? 

Nancy OShea
Community Expert
Community Expert
November 3, 2021

Maybe you misunderstood me.  I said Actions panel with which you record custom adjustments and save them for future use.  Have you ever used the Actions panel?

 

 

Nancy O'Shea— Product User & Community Expert