Quantcast
Channel: Adobe Community: Message List - Photoshop Scripting
Viewing all articles
Browse latest Browse all 27456

Is there a script to replace this manual work I do, so it doesn't take ages?

$
0
0

Here I have posted screenshots of me selecting the brightest value of this image. I would like to have all this hard work automated.

 

1 Image = The image. Im going to find and select its brightest value. I make layer from background

2 Image = Layer from background

3 Image = I Open "Blending Options" window and push white slider one step down - from 255 to 254. If there is 255 value in the image it will become transparent.

4 Image = I make new layer

5 Image = select both layers

6 Image = Merge layers

7 Image = Ctrl+click on the layer

8 Image = Inverse selection

9 Image = Now we can see that the "inverse" is greyed out. it means that the brightest value is not 255.

10 Image = since i didnt find any value at 255, i go on and push the slider further down - from 254 to 253.

11 Image = I make new layer, select both layers, and i merge them.

12 Image = Merged layer

13 Image = Ctrl+click on the layer

14 Image = Inverse selection

15 Image = once again we can see that the "inverse" is greyed out. it means that neither of these two values (255, 254) represent the brightest value in the image.


I repeat this process over and over again until I hit the value which is the brightest. In this case, the brightest value is 95.


16 Image = once again I Open "Blending Options" window and push white slider one step down. After many steps i have made, i make a move from 95 to 94.

17 Image = once again I make new layer

18 Image = select both layers and merge

19 Image = Ctrl+click on the layer

20 Image = Inverse selection

21 Image = We can see that the "inverse" is NOT greyed out. It's ACTIVE. It means that we have found the brightest value which is 95. The brightest value is selected, which in this case, it consist of transparent pixels. However i have the selection of the brightest value of this image. The goal is achieved.


Can it be automated?


image 1.jpgimage 2.jpgimage 3.jpgimage 4.jpgimage 5.jpgimage 6.jpgimage 7.jpgimage 8.jpgimage 9.jpgimage 10.jpgimage 11.jpgimage 12.jpgimage 13.jpgimage 14.jpgimage 15.jpgimage 16.jpgimage 17.jpgimage 18.jpgimage 19.jpgimage 20.jpgimage 21.jpg


Viewing all articles
Browse latest Browse all 27456

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>