You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to crop the visible area of a panzoom controlled image. I'm doing this by converting the image to a canvas using the panzoom pan coordinates as offsets for the crop. This works fine when no scaling/zooming occurs but when that happens the coordinates no longer match the 'visible' area.
What's the best way to achieve this? Any suggestions welcome!
Thanks in advance
Rich
The text was updated successfully, but these errors were encountered:
Hello
Cool library - thanks for all the hard work!
I am trying to crop the visible area of a panzoom controlled image. I'm doing this by converting the image to a canvas using the panzoom pan coordinates as offsets for the crop. This works fine when no scaling/zooming occurs but when that happens the coordinates no longer match the 'visible' area.
What's the best way to achieve this? Any suggestions welcome!
Thanks in advance
Rich
The text was updated successfully, but these errors were encountered: