上传图片,裁剪图片,图片变圆形
裁剪图片及上传图片: <! doctype html > < html lang ="zh-CN" id ="index" > < head > < meta charset ="UTF-8" > < meta name ="viewport" content ="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no, minimal-ui" /> < meta name ="apple-mobile-web-app-capable" content ="yes" /> < meta name ="format-detection" content ="telephone=no, email=no" /> < meta name ="keywords" content ="" > < meta name ="description" content ="" > < title > 图片裁剪 </ title > < style > body { margin : 0 ; text-align : center ; } #clipArea { margin : 20px ; height : 300px ; } #file, #clipBtn {