Croppie icon indicating copy to clipboard operation
Croppie copied to clipboard

Fail on get result from circle viewport

Open marcelleza8 opened this issue 4 years ago • 0 comments

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

image

Result

image

Specifications

  • Version: 2.6.4

Gratitude

marcelleza8 avatar Aug 26 '20 14:08 marcelleza8