zwibbler.js
zwibble.js 是国外个人写的一个插件 如果你需要定制的话 会收费 但是 可以知道他的源码 自己参悟
官网:https://zwibbler.com/
api:https://zwibbler.com/docs/#introduction
Git项目地址貌似已经删除。
起步 首先引入官方的代码块
<!DOCTYPE html>
<html>
<body>
<div id="zwibbler" style="margin-left:auto;margin-right:auto;border:2px solid red;width:800px;height:600px;"></div>
<input type="button" onclick="onSave()" value="Save"/>
<input id="loadButton" type="button" onclick="onLoad()" disabled="disabled" value="Load"/>
<input type="button" onclick="onImage()" value="Open as image"/>
<input type="button" onclick="zwibbler.onResize()" value="Open as image"/>
<script src=