Fengyuan Chen
Fengyuan Chen
Does this is an issue of the jQuery Cropper?
Congratulations! You have successfully created a pull request. 🎉
May not support to use this library in React Native.
For Cropper.js v2.x, try the `beforeDraw` option of the `$toCanvas` method: ```js cropperSelection.$toCanvas({ beforeDraw: (context, canvas) => { context.filter = 'grayscale(100%)'; }, }); ```
As of v1.6.0, you can use the `rounded` option of the `getCroppedCanvas` method to fix it: ```js const canvas = cropper.getCroppedCanvas({ rounded: true, }); ```
> > No support it. I'm sorry. > > Is there any plan to give an interface to switch/close image loading animation? > > > 有计划给出切换/关闭 图片加载动画的接口嘛 > > I'm...
I have no idea about this.
可能是超出 iOS 内存限制,试试将 `checkOrientation` 属性设为 `false`。
If you set the `mimeType` option to `'image/png'`, you may also need to set the `strict` option to `false`.
Can you check it by the `canUseCanvas` in your project directly?