Skip to content
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

PNG and Transparency #55

Open
BaltoAF opened this issue Oct 25, 2022 · 0 comments
Open

PNG and Transparency #55

BaltoAF opened this issue Oct 25, 2022 · 0 comments

Comments

@BaltoAF
Copy link

BaltoAF commented Oct 25, 2022

Hello,
I'm trying to crop PNG images containing transparency using ImageCropper.
But cropped image transparency is replaced by a black color.
It is possible to keep the transparency in the cropped image ?

For info, i'm calling the image cropper like this.

var cropper = new ImageCropper() { AspectRatioX = 1, AspectRatioY = 1, CancelButtonTitle = Resources_Strings.Generic_Cancel, CropMenuCropButtonTitle = Resources_Strings.ImageCropper_CropMenuCropButtonTitle, DoneButtonTitle = Resources_Strings.ImageCropper_DoneButtonTitle, PageTitle = Resources_Strings.ImageCropper_PageTitle, PhotoLibraryTitle = Resources_Strings.ImageCropper_PhotoLibraryTitle, SelectSourceTitle = Resources_Strings.ImageCropper_SelectSourceTitle, TakePhotoTitle = Resources_Strings.ImageCropper_TakePhotoTitle, Faiure = () => { // Cancel was requested by user. }, Success = successAction }; cropper.Show(this);

Thanks !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant