How to use an image as a mask in weight paint?

I created a mountain in blender and I have a black and white image that I want to use as a mask, to put some vegetation in specific places, I can use the mask on the texture pant but in the paint weight, I can’t find anything related, nor in the blender manual in Blender Doc, I wanted to know if it is possible in weight paint to use an image as a mask to make my particle system

Hi,

Isn’t that what you’re looking for?