We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Thanks for gif cropperjs lib it helps me a lot in my project, but I found an issue about rotated area crop.
after cropper.rotate(-45), cropped blob area is not matched with canvas
cropper.rotate(-45)
I think this is cause of setupCanvas function's rotated box check
var rotatedBoxWidth = (this.width*Math.cos(radian)+this.height*Math.sin(radian)) * limitRatio; var rotatedBoxHeight = (this.height*Math.cos(radian)+this.width*Math.sin(radian)) * limitRatio;
var rotatedBoxWidth = (this.widthMath.cos(radian)+this.heightMath.sin(radian)) * limitRatio;
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Thanks for gif cropperjs lib it helps me a lot in my project,
but I found an issue about rotated area crop.
after
cropper.rotate(-45)
,cropped blob area is not matched with canvas
I think this is cause of setupCanvas function's rotated box check
var rotatedBoxWidth = (this.widthMath.cos(radian)+this.heightMath.sin(radian)) * limitRatio;
The text was updated successfully, but these errors were encountered: