Skip to main content
Participant
June 9, 2024
Open for Voting

I suggest PS UXP maintainers add an API: layer.filter((x,y,c)=>RGBA(255,0,0,x/width))

  • June 9, 2024
  • 1 reply
  • 100 views
The filter function executes its parameter function for each pixel in the layer. The xy parameter of the parameter function is the coordinate of the pixel, the c parameter is the original color, and the function value of the parameter function is the new color of the pixel.
This will be a very powerful function that allows developers to freely implement various effects, including but not limited to the current various filters.
The current applyCustomFilter is too weak!

1 reply

jane-e
Community Expert
Community Expert
June 9, 2024

@37928236b4ef 

 

Your post only displays the first line of each paragraph because you used the <pre> html tag. Can you post your entire message for us?

 

Jane