whitebaby

Results 9 comments of whitebaby

估计和我遇到的问题类似,后来没有办法,使用新浪sae,用ajax传base64到php生成图片实现了。

我也用楼上的测试用例,PC端chrome、IE都没有问题。小米3,MIUI 7.0.5.0 安卓4.4.4 KTU84P自带浏览器没有问题,但是微信(安卓版本号6.3.5)、UCweb开发者版本(v9.8.9.457)都不行,都提示Uncaught TypeError: Illegal constructor。演示代码页面:http://kanlian.sinaapp.com/imgcut/bug.html

另外,我用官网javascript-sdk-master\test\file_blob.html 对canvas转成blob后,上传虽然能成功(不报Uncaught TypeError: Illegal constructor),但是通过后台查看图片显示没有内容。演示页面:http://kanlian.sinaapp.com/imgcut/blob.html ,演示js http://kanlian.sinaapp.com/imgcut/js/blob.js 上传后的图片:http://ac-v2wkbaus.clouddn.com/0c11434110778c90bd53.jpg

我用几个苹果设备没有问题。主要就是安卓的微信(版本6.3.7)都不行,测试机型:小米3,红米,华为荣耀6,微信测试都没有过。我建议您下个ucweb开发者版本,然后测试下,也是提示Uncaught TypeError: Illegal constructor。 ![771923504765555643](https://cloud.githubusercontent.com/assets/8775846/11173290/2c0dbbde-8c4f-11e5-8977-ef4a87d9b4c3.png)

测试代码用的还是:http://kanlian.sinaapp.com/imgcut/bug.html

好的,非常感谢您的建议。我也有机会多试试其他机型。

我没有遇到过。一般我处理的图片都小于3m,先js生成canvas,一般就300多kb,得到base64之后,post数据给到php,保存。

"not detect face" Examples from my video: https://github.com/Weizhi-Zhong/IP_LAP/assets/8775846/e00a2d4b-46f9-49a6-9c58-560089122283