Skip to content
Advertisement

Tag: cropper

Understanding Jquery-Cropper units

I’m making a project using jquery-cropper (https://fengyuanchen.github.io/jquery-cropper/). I need to get the coordinates of the crop rectangle. The method getCropBoxData() return those coordinates, but I can’t get what units it’s using, and the documentation doesn’t mention them. Check the picture of the demo page I’m attaching. The fields at the right show the current position of the crop in pixels,

Advertisement