How to mask the image in AEM?
I am trying to convert an image to a masked image in AEM. For example, I have an image, and I want to apply a black-and-white mask, meaning the original image should be completely black.

I know this can be done using the ImageMagick tool with the convert feature. Is there a way to accomplish this in Dynamic Media or using any AEM Assets API?