Open g-rodigy opened 1 year ago
Can you provide some screenshots?
Source image
Chrome
Firefox
How about cropper.getCroppedCanvas().toDataURL('image/jpeg')
?
No, the same with image/jpeg
or image/png
or image/webp
I have no idea about this right now...
Later I do some tests, it maybe not a bug cropper, only browser.
have same issue. image type "image/png" results in replacing transparent pixels to black
Describe the bug Sometimes after crop white color not white, it depends on the position crop area. It happens on all images with white color(maybe not only white, but on white color it more noticeably) only on chrome browser.
To Reproduce
https://codepen.io/rodigy/pen/abRRmQq
Expected behavior White color not chaged.
Desktop (please complete the following information):
Additional context Tested on firefox, work fine