`var Imagecropper = require("nativescript-imagecropper").ImageCropper;
var imageCropper = new Imagecropper();
var androidOptions = {
compressionQuality:10,
statusBarColor: 'red',
}
var options = {
width:350,
height:300
};
imageCropper
.show(selectedImgSource,options,androidOptions)
.then(args => {
if (args.image !== null) {
....
}
`
I am getting the image but it is too much compressed the quality of the image is not good at all , so would like help if i could manage the compression through OptionsAndroid.
I want to change the compression quality
1st I am not able get OptionsAndroid
`var Imagecropper = require("nativescript-imagecropper").ImageCropper; var imageCropper = new Imagecropper();
var androidOptions = { compressionQuality:10, statusBarColor: 'red', } var options = { width:350, height:300 }; imageCropper .show(selectedImgSource,options,androidOptions) .then(args => { if (args.image !== null) { .... } ` I am getting the image but it is too much compressed the quality of the image is not good at all , so would like help if i could manage the compression through OptionsAndroid.