I have two divs, one above the other. In the foreground div, I have a transparent image of a certain dimension; and in the background div, a colored image.
I want to be able to save the transparent image in a way that it also 'saves' the underlying (background) image (since the foreground image is transparent). I know this can be done using canvas but I would like to know if it's possible to do it without using canvas because it doesn't always work with non-image elements (e.g. object).