Closed samuel-clara closed 7 years ago
Yes, have same problem.
Which version of Cropper? Any screenshots?
Same issue with the v.3.0.0-rc.3 which I'm using now and with v.2.3.2 which I used time ago. What kind of screenshot do you need?
View and Cropped image https://prnt.sc/gwf0a4 GetImage https://prnt.sc/gweznw
var imageData = $('.cropper-example-1 > img').cropper('getCroppedCanvas', {
width: 123,
height: 92,
imageSmoothingQuality: 'high'
}).toDataURL('image/jpeg');
Settings
$('.cropper-example-1 > img').cropper({
dragMode: 'move',
toggleDragModeOnDblclick: false,
cropBoxResizable: false,
aspectRatio: 122 / 92,
background: false,
});
Cropper v3.1.0
Yes same problem here with v3.1.1
The core problem is the same as http://0.30000000000000004.com/
Could you please release a new version with that fix?
v3.1.2 has been released for this.
@fengyuanchen We are encountering this issue by using the javascript version of the cropper (https://github.com/fengyuanchen/cropperjs). Is it possible that the same bug is still present there?
@fengyuanchen this is still very much an issue using both the cropper.js and jQuery cropper tools. Could you point us in the right direction to fix this issue? Thank you.
Is there a fix? Why is this closed
Using the fixed crop box some images are uploaded with 1px of the fillcolor on the bottom or on the right. Maybe it's a problem with the approximation of subpixels. I'm uploading images using HTMLCanvasElement.toBlob() and then php.
This is the code I'm using: