Hi, Everyone
i want to get image name with image extension using camera plugin. how we can achieve that.
Here is my code:
ImagePick() {
let options = {
destinationType : Camera.DestinationType.DATA_URL,
sourceType : Camera.PictureSourceType.PHOTOLIBRARY,
quality: 100,
targetWidth: 1000,
targetHeight: 1000,
encodingType: Camera.EncodingType.JPEG,
correctOrientation: true
};
Camera.getPicture(options).then((imageData) => {
// If it's base64:
this.base64Image = imageData;
}, (err) => {
});
}