bthurlow / nativescript-imagecropper

A nativescript image cropping plugin.
Other
49 stars 35 forks source link

OptionsAndroid issue #65

Closed ParthMaisheri closed 4 years ago

ParthMaisheri commented 4 years ago

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.

ParthMaisheri commented 4 years ago

@bthurlow @shiv19

ParthMaisheri commented 4 years ago

This is working after update to 3.0.0 and increase the height & width options to HD ratios. var options = { width:1080, height:720 };