This sample shows how to use Diagram.makeImageData with the returnType: "blob" option and the necessary callback option.

Blobs may not be supported or work consistently on all browsers. This code was tested with Chrome, Firefox, IE11 and Edge.

加入 GoJS 交流群
GoJS 交流群 (769862113)