output.base64 = cropCanvas.toDataURL('image/' + settings.format, this.getQuality(settings)); I've just tried to resize the images beforehand ([resizeToHeight]='4000' [resizeToWidth]='4000'), but that also leads to an other error: unable to get image data from canvas Hi [resizeToWidth]...