I have a PNG image with an alpha mask. I want to generate a shadow for this image, that would use the alpha mask.
a picture is worth thousand words http://www.brunet.fr/alpha.jpg
I suppose I would need to :
- get the alpha mask from the first image
- fill it with the appropriate color, and blur it
- create a new blank white image
- compose it with the shadow first, and the first image
But I can't found anywhere some tips, especially for the first part.
Edit : i found a begining of answer here I try it and let you know.
Thanks