I need to rotate the image in the canvas and at the same time resize it to make sure that the corners of the canvas do not remain empty. The solution should be something similar to the aviary in the "Crop, Resize, and Rotate" example.
I think the solution is to combine the rotation and resize functions of the canvas, but I cannot find a concrete solution to the problem, and I have not found an exaustive example on the Internet.
Any advice would be helpful
thanks
source
share