Is there a way to set the initial viewport to display as a circle but when getting the result, have it produce a square version of the image?
Yep - but I don't think it's documented. https://github.com/Foliotek/Croppie/blob/master/croppie.js#L1050
$('#my-crop').croppie('result', { circle: false, type: 'canvas' });
Amazing! You just made my day @thedustinsmith.
Perfect just what I needed. Thank you @thedustinsmith
Thanks
Thank you Dustin, this helped me a lot!
Hi,
I have tried using the following :
$('#my-crop').croppie('result', { circle: false, type: 'blob' });
Seems like circle false is ignored when using type blob. Am I missing something?
Thanks!
Most helpful comment
Yep - but I don't think it's documented. https://github.com/Foliotek/Croppie/blob/master/croppie.js#L1050
$('#my-crop').croppie('result', { circle: false, type: 'canvas' });