When I upload the following image:
It have width 4000 and height 6000.
Vue cropper
in this lines
const {image} = cropperElement.value.getResult()
imageWidth.value = image.width
imageHeight.value = image.height
recognizes this image as width = 6000 and height = 4000. have no idea why. Please try yorself.
When I upload the following image: It have width 4000 and height 6000. Vue cropper in this lines const {image} = cropperElement.value.getResult() imageWidth.value = image.width imageHeight.value = image.height
recognizes this image as width = 6000 and height = 4000. have no idea why. Please try yorself.