Rotated image loaded from local storage is cropped by unrotated transformer #1761
peteggreen
started this conversation in
General
Replies: 1 comment
-
Please make a little online demo of your issue. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I'm a huge fan of konva and appreciate all the great work that's gone into it - there's been a solution to every idea so far. However, I'm now trying to load a rotated image from local storage and although the image itself renders with the correct rotation, it's cropped by the unrotated transformer. I'd like both the image and transformer to load with the save rotation value without any cropping.
Left is the image as it's saved, right is the image as it loads.
Does this make sense in terms of how konva renders the image/transformer, or is this just a me problem?
I've been stuck on this for a few days so any insight is appreciated, thanks!
Beta Was this translation helpful? Give feedback.
All reactions