Open marcelleza8 opened 4 years ago
I'm trying to get an Ellipse result
Receiving an circle result
` var croppie = new Croppie(imgCrop, { viewport: { width: 150, height: 200, type: 'circle' }, boundary: { width: 300, height: 300 }, showZoomer: false, enableResize: true, enableOrientation: true, mouseWheelZoom: 'ctrl' })
$('.confirmar').on('click', function () { croppie.result({ type: 'canvas', size: 'viewport' }).then(function (img) { $('img').attr('src', img).appendTo('.resultado') }) })`
Gratitude
Expected Behavior
I'm trying to get an Ellipse result
Actual Behavior
Receiving an circle result
Steps to Reproduce the Problem
` var croppie = new Croppie(imgCrop, { viewport: { width: 150, height: 200, type: 'circle' }, boundary: { width: 300, height: 300 }, showZoomer: false, enableResize: true, enableOrientation: true, mouseWheelZoom: 'ctrl' })
$('.confirmar').on('click', function () { croppie.result({ type: 'canvas', size: 'viewport' }).then(function (img) { $('img').attr('src', img).appendTo('.resultado') }) })`
Image to crop
Result
Specifications
Gratitude