I am converting an imageSource into a base64 encoded string as follows:
var photoEnc64String = photo.toBase64String("jpg", 30);
This line of code only partially works; it generates a base64 encoding, but no matter what the quality number I enter (0-100), it always uses the maximum quality setting (100). Does anyone know why I might be having this issue?
Here is the doc for
toBase64String() : https://docs.nativescript.org/api-reference/classes/image_source.imagesource#tobase64string
Thanks for the help!