title: In Angular using ngx-img-cropper, how do I get the cropped jpg or png file, not a base64 image
body: <p>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.</p>
  
  <p>This is the ngx-img-cropper website <a href="https://github.com/web-dave/ngx-img-cropper" rel="nofollow noreferrer">https://github.com/web-dave/ngx-img-cropper</a>. I'm trying to upload an image inside of fileChangeListener() about 3/4 of the way down the page.</p>