Is there a way to implement a zoom tool in perspective to zoom area of an image ?
I’ve found that you can “zoom” in on an image by changing the fit mode to None if the image is larger than the container, or Absolute with a width and/or height larger than the container. You can also enable fit scroll to scroll up and down.
There is also a Percent mode, which uses the width and height values to fit based on percentage of the container. per Perspective Image Documentation
However, I found this difficult to utilize:
- If the Dimensions of the Images are Unknown
- If the dimensions of the container are unknown during runtime
I wish there were a “Percentage-Image” mode that would be based on the original dimensions of the source image.