MDN ยท Canvas API
Keep the drawing on a separate layer so background changes and erasing are reflected in image exports.
Preparing your comprehensive developer toolkit
Practical Guide
Keep the drawing on a separate layer so background changes and erasing are reflected in image exports.
Keep the drawing on a separate layer so background changes and erasing are reflected in image exports. Load the landscape sample, change the background or erase a stroke, then save the canvas as PNG, JPEG or WebP.
Keep the drawing on a separate layer so background changes and erasing are reflected in image exports.
Keep the drawing on a separate layer so background changes and erasing are reflected in image exports.
Load the landscape sample, change the background or erase a stroke, then save the canvas as PNG, JPEG or WebP.
Keep the drawing on a separate layer so background changes and erasing are reflected in image exports.
Load the landscape sample, change the background or erase a stroke, then save the canvas as PNG, JPEG or WebP.
Keep the drawing on a separate layer so background changes and erasing are reflected in image exports.
Open the tool to try these features.