I have a PNG with transparent background. I want to draw a rectangle over it (the dashed rectangle) and then fill it with some color because for my text, I need to add a rectangle over some areas to show that they are part of a module.
I first tried to fill the rectangle and adjust the alpha, but as you can see it covers the whole thing
Then I used FILL BOUNDED AREAS (the bucket icon) but it does not do a clean job as I expected as it does not fill inside the small texts (Q1, R1, R2).
My question is, does the goal that I have in mind make sense in Inkscape? if so how can I do it, otherwise do you have any suggestion how can I approach such a design problem!?