-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unexpected Background Blackening: Transparent Areas Rendered Black #245
Comments
@Muhammad-Sarfaraz, do you use |
Mime : ".png" Method: [toDataURL] this.$emit("update:modelValue", **result.canvas.toDataURL("image/jpeg"))**; |
That's the reason. When you pass |
Ok, That's mean on mime: |
@Muhammad-Sarfaraz, any news? |
hi @Norserium currently hit the same issue. Weirdly enough, i couldnt use the cropper preview due to responsive sizing issues so I just run my own Which works fine and also shows as transparent. But as soon as I pass the previewBase64 string into the cropper tool I also get the black background even when I use |
Did you try to change the cropper's background to an another color? |
wow codeblind + end of day is a bad combination haha. Thank you! Appreciated |
@matthiasPOE, you are welcome! |
Unforeseen Background Blackening: Complete Blackness Instead of Transparency After PNG Image Cropping.
Package:
The text was updated successfully, but these errors were encountered: