Describe the bug
Whenever I submit a JPEG to the Plugin and then get the cropped Image back (via ImageCrop.getCroppedImageBase64()) it has turned into a PNG.
This might be because of line 212 in image-crop.tsx:
let croppedImageDataUri = canvas.toDataURL("image/png", 1.0);
Expected behavior
No image format change.
Minimal reproducible example
No response
Add-on Version
1.1.2
Vaadin Version
24.7.11
Additional information
No response
Describe the bug
Whenever I submit a JPEG to the Plugin and then get the cropped Image back (via
ImageCrop.getCroppedImageBase64()) it has turned into a PNG.This might be because of line 212 in image-crop.tsx:
let croppedImageDataUri = canvas.toDataURL("image/png", 1.0);Expected behavior
No image format change.
Minimal reproducible example
No response
Add-on Version
1.1.2
Vaadin Version
24.7.11
Additional information
No response