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 !
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 !