There’s a TON of different solutions for that. You could also use a vector svg shape to mask the whole image, for example.