I'm using Angular (not AngularJS) and the ngx-img-cropper library. Once the image is cropped, is there a way to get the cropped jpg or png file? this.data.image inside of fileChangeListener($event) is a base64 image string 'data:image/png;base64,iVBORw0KGgo...'. this.cropper.image[0] is an HTML Element object and this.cropper.image[1] is a base 64 image string.
This is the ngx-img-cropper website https://github.com/web-dave/ngx-img-cropper. I'm trying to upload an image inside of fileChangeListener() about 3/4 of the way down the page.