idcrop:多边形图像裁剪插件

上传者: 42117340 | 上传时间: 2022-09-04 09:43:38 | 文件大小: 207KB | 文件类型: ZIP
IdCrop 图像裁切器实用程序,可以将图像裁切为所选的任何多边形,并返回裁切区域的base64。 演示: : 用法 $ npm install idcrop Java脚本 const IdCrop = require ( "idcrop" ) ; const idcrop = new IdCrop ( { displaySelector : "#display" , toolbarSelector : "#toolbar" , previewSelector : "#preview" } ) ; idcrop . init ( ) ; 配置对象 配置对象中唯一需要的键是显示区域CSS选择器,但是我们有很多配置选项,将在下面列出。 displaySelector CSS选择器,用于显示区域的容器(必需,键入CSS Selector) toolbarSelector

文件下载

资源详情

[{"title":"( 32 个子文件 207KB ) idcrop:多边形图像裁剪插件","children":[{"title":"idcrop-master","children":[{"title":"index.html <span style='color:#111;'> 427B </span>","children":null,"spread":false},{"title":".pre-commit.sh <span style='color:#111;'> 19B </span>","children":null,"spread":false},{"title":".eslintrc.js <span style='color:#111;'> 739B </span>","children":null,"spread":false},{"title":"webpack.config.js <span style='color:#111;'> 1.01KB </span>","children":null,"spread":false},{"title":"lib","children":[{"title":"scss","children":[{"title":"_theme.scss <span style='color:#111;'> 521B </span>","children":null,"spread":false},{"title":"main.scss <span style='color:#111;'> 1.23KB </span>","children":null,"spread":false}],"spread":true},{"title":"js","children":[{"title":"prod.js <span style='color:#111;'> 106B </span>","children":null,"spread":false},{"title":"main.js <span style='color:#111;'> 319B </span>","children":null,"spread":false},{"title":"idcrop","children":[{"title":"helpers.js <span style='color:#111;'> 2.45KB </span>","children":null,"spread":false},{"title":"Handle.js <span style='color:#111;'> 1.47KB </span>","children":null,"spread":false},{"title":"Polygon.js <span style='color:#111;'> 3.22KB </span>","children":null,"spread":false},{"title":"IdCrop.js <span style='color:#111;'> 8.69KB </span>","children":null,"spread":false},{"title":"Point.js <span style='color:#111;'> 745B </span>","children":null,"spread":false},{"title":"CropArea.js <span style='color:#111;'> 1.99KB </span>","children":null,"spread":false},{"title":"BgImage.js <span style='color:#111;'> 1.13KB </span>","children":null,"spread":false}],"spread":true},{"title":"index.js <span style='color:#111;'> 114B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"LICENSE <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 4.57KB </span>","children":null,"spread":false},{"title":"dist","children":[{"title":"js","children":[{"title":"bundle.min.js <span style='color:#111;'> 57.98KB </span>","children":null,"spread":false}],"spread":true},{"title":"css","children":[{"title":"main.min.css <span style='color:#111;'> 1.16KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"docs","children":[{"title":"index.html <span style='color:#111;'> 1.40KB </span>","children":null,"spread":false},{"title":"assets","children":[{"title":"imgs","children":[{"title":"idcrop_black.png <span style='color:#111;'> 23.85KB </span>","children":null,"spread":false}],"spread":true},{"title":"js","children":[{"title":"idcrop.min.js <span style='color:#111;'> 57.98KB </span>","children":null,"spread":false}],"spread":true},{"title":"css","children":[{"title":"normalize.css <span style='color:#111;'> 7.61KB </span>","children":null,"spread":false},{"title":"idcrop.css <span style='color:#111;'> 1.16KB </span>","children":null,"spread":false},{"title":"skeleton.css <span style='color:#111;'> 11.18KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true},{"title":".gitignore <span style='color:#111;'> 915B </span>","children":null,"spread":false},{"title":"test.jpg <span style='color:#111;'> 111.90KB </span>","children":null,"spread":false},{"title":"index.js <span style='color:#111;'> 86B </span>","children":null,"spread":false},{"title":"webpack-prod.config.js <span style='color:#111;'> 1.13KB </span>","children":null,"spread":false},{"title":"package-lock.json <span style='color:#111;'> 315.05KB </span>","children":null,"spread":false},{"title":"package.json <span style='color:#111;'> 1.37KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明