My goal is to make the red drawing transparent in sted of red.
I tried to search for an extension to just change all red to a new transparent color but did not find a solution.
And whatever is drawn on an image in the canvas will always stay on top of that image...
AFAIK, there is no straightforward way to do this. You could store the coordinates of the shapes drawn, and then redraw those shapes with the background color (which should appear to give that transparent effect), instead:
Thanks, Nishyanth,
That would work with a solid background color (as in my description), but the image will not get a transparent property. As if I change the background to a picture.
That's creative
But it does not give the end result. An image with transparency.
Like, if you take a picture with a greenscreen background and change the greenscreen color to transparency.
I believe you will need to need to move your background image to the foreground (pixel by pixel), then remove the background. Then you can "paint" with a transparent colour, or apply masks.....
@Juan_Antonio , This is exactly what I am looking for! Thanks.
Tried to find the extension, with no luck.
Please provide a link to where to obtain a download link/site.
Br. Teddy