I have an img like this: example image and I want to transform it to an img like this: example shadow-image.
I tried filter: grayscale(100%);
but it only transformed colors to greyscale, inner shapes survived.
So I want to change everything in image except transparency to black. How can I do it?