Closed nseb closed 1 year ago
@nseb, I'm currently rewriting this library to correspond the API of react-advanced-cropper
(another my library), so the getResult
will be deleted. You will be able to get the desired result by getTransforms
method.
In the current version you can get the transforms from the image
property:
const result = this.$refs.cropper?.getResult();
if (result) {
const { transforms } = result.image;
}
@Norserium , thank you for your return it works, the telegram version in react is great ;-)
@nseb, you are welcome!
the telegram version in react is great ;-)
The good news is it will be ported to Vue too.
@Norserium thanks ;-) , sorry for the late reply
Hello, I find the library really good because it is very complete, for me it would lack more exhaustive information when you do a flip, rotae or zoom to retrieve the information in the getResult like the coordinates of the crop. A bit like in this example:
Best Regards