cropperjs icon indicating copy to clipboard operation
cropperjs copied to clipboard

Moving the cropper origin to top:left

Open mapsedge opened this issue 11 months ago • 2 comments

Using cropper to define object placement on an image. The library used for the output has the origin at the top:left, where cropper has the origin at bottom:left. This requires additional calculations to compensate for and if that's missed anywhere in the code, the whole mapping is thrown off.

Being able to set the origin to match the output library would greatly simplify the project and reduce opportunities for error.

mapsedge avatar Mar 09 '24 18:03 mapsedge

Any demo for checking? I think the origin is top left absolutely.

fengyuanchen avatar Mar 13 '24 07:03 fengyuanchen

Sorry - wrote them backwards. Any way to set cropper origin to bottom left?

mapsedge avatar Mar 27 '24 03:03 mapsedge

Sorry - wrote them backwards. Any way to set cropper origin to bottom left?

Not support that.

fengyuanchen avatar Aug 18 '24 09:08 fengyuanchen