Answered
Scripting. get the number of pixels in the alpha channel of an image layer ?
Hi guys.
Someone tell me how I can get the number of pixels in the alpha channel of an image layer ?
Hi guys.
Someone tell me how I can get the number of pixels in the alpha channel of an image layer ?
Algorithm (the hint).
Turn the transparency channel into a selection (ctrl+click on layer )
Save it to new alpha channel.
Select only this alpha channel.
Read the document's histogram value at index 255.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.