I want to fit an image inside a canvas.
Making x and y to 0 of image is not working.
My problem is I am rotating image at 90 and I want to save that image. If i save normally it is not taking rotation.
So I am adding that image in a canvas and saving that canvas with rotated image.
Somehow some portion of canvas still remains empty after adding image to it.
Any idea how to perfectly fit image inside canvas?
Or How to rotate image bitmap data with maintainig aspect ratio?
Thank in advance
Mx component don't handle rotation very well. Spark Group should handle it
You may need to set the y to the height of the rotated image (its original