We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6124e0f commit c6919bbCopy full SHA for c6919bb
web_src/js/features/comp/Cropper.ts
@@ -26,7 +26,7 @@ export function initCompCropper() {
26
autoCrop: false,
27
crop() {
28
const canvas = cropper.getCroppedCanvas();
29
- result.src = canvas.toDataURL(); //The default format type is image/png.
+ result.src = canvas.toDataURL();
30
canvas.toBlob((blob) => {
31
const file = new File([blob], filename, {type: 'image/png', lastModified: Date.now()});
32
const container = new DataTransfer();
0 commit comments