Dear Nokia.Forum community,
I have yet another question regarding the mask function in python.
What I want to do:
I want to have one main image that will be my background loaded from image(img), and I want to have another image on top of the background image (imgtop). Then I want to make e.g. two rectangles on the imgtop image and I wish to put the imgtop over the img and see the background image and the rectangles from imgtop with the mask. I saw a function that iterates through .png file and makes another mask image on the wiki. Is there any way to make a mask from user's made rectangles, ovals, ellipses, lines etc.? Or I have to make a mask image everytime I declare new rectangle, oval etc.?
Is there a way to iterate through user's made graphics within an image?
Thanks in advance,