Example JavaScript API for editing static PNG and SVG images, objects with data URIs and SVG DOM with embedded XML.
Click on the images below to start editing.

PNG Image with default UI:


SVG Image with Sketch UI in dark mode:


Vertical spacer for testing scrollbars.
SVG Object (wrapper needed to implement click handler):


SVG DOM (wrapper needed to allow for replacing outerHTML on SVG element):
This is a test.
This is a test.