Exports the contents of some Surface as an image. The default supported image type in browsers is image/png but you'll probably find image/jpeg also works, although that is not under jsPlumb's control.
image/png
image/jpeg
Export to an image.
Exports the contents of some Surface as an image. The default supported image type in browsers is
image/png
but you'll probably findimage/jpeg
also works, although that is not under jsPlumb's control.