I have an image that I've put into a new layer. This image has a lot of transparent empty spaces. I have colorized the non-transparent spaces in black. The transparent parts are still transparent.
I would want to apply a gradient only on the black parts of the image/layer, leaving the transparent spaces... well... transparent.
How can I do that? Should I use masks and layers modes together?