angular2-img-cropper
angular2-img-cropper copied to clipboard
preserveSize = true
When i set the following : this.cropperSettings.preserveSize = true;
this.data.image returns null when image resolution is very large. 20000px+; Works fine on smaller images tough.
I'm getting same error. I'm getting this message in console:
"EXCEPTION: [Exception... "Failure" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: http://.../src/imageCropper.js :: ImageCropper.prototype.drawImageIOSFix :: line 977" data: no]"
Also It cannot handle the crop ratio in small images(LIke I kept AspectRatio true and my cropper ratio is 1:1 aka square but in output I'm getting stretched Image of random ratio).