Convert Semi-Transparent Pixels to Fully Opaque
Suppose I have a layer in Photoshop containing completely transparent, semi-transparent, and fully opaque pixels. Now, suppose my goal is to keep all fully opaque pixels identical, convert all semi-transparent pixels to fully opaque, and keep all completely transparent pixels identical.
One way that I've found I can do this is by duplicating the layer around 20 to 30 times and then merging them all together, but I need a way to automate this process in a Photoshop script for hundreds and hundreds of layers, so making that many copies is extremely inefficient and will waste a lot of time.
Is there a simpler, faster way to achieve this, preferably something I can use easily in a .jsx Photoshop script?
