I am developing a pain brush application in javascript using processing.js It is using cavas object. I want to keep an image at the background of canvas. Draw something in the foreground. And while saving i need to get only foreground data.
For that we need to make canvas object transparent so that background image is visible.
I don't see any option to make the canvas transparent. how to do that?