While I am selecting and compressing the image in angular7 the image gets compressing but the file shows the description but I want to get the base64 data only from that file? if is there way suggest me thanx in adv.
angular
for (var i = 0; i < newfiles.length; i++) {
    let images: Array<IImage> = [];
    const files = Array.from(element.target.files);
    ImageCompressService.filesArrayToCompressedImageSource(Array.from(element.target.files)).then(observableImages => {
        observableImages.subscribe((image) => {
            images.push(image);
        }, (error) => {
            console.log("Error while converting");
        }, () => {
            this.processedImages = images;
            arrayOfImagesFile = images;
            console.log("jvdff");
            this.showTitle = true;
        })
    })
};
in images there is showing files description that are --> image data URL which is base64 data and imageObjectUrl which is blob type Url but I want only imageDataUrl seperately
 
    