HTML 5 Canvas and Javascript: Combining layered canvases
问题 I wanted to combine images from different canvases (layered on top of each other using z-index) to export as one single image. Is this possible? 回答1: Same : How can I save div as image at client side where div contains one or more than one HTML5 canvas elements? Save many canvas element as image 回答2: Try using the context.getImageData() and context.putImageData(). I haven't tried that in Javascript before, but it shouldn't be that difficult. HTML Canvas 2D Context 来源: https://stackoverflow