Changing the angle of an image breaks zoom
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Changing the angle of an image breaks zoom
I have been working on a simple full screen image viewer as part of another stack. The viewer needs to be able to zoom the image and rotate it 90 degrees either direction. I have written a zoom script that works well with a slider. I tried to use "rotate image" but kept getting an error message that the image was not editable. After a bit of research I found "set angle" and used that to make rotation buttons. The problem is, after I rotate the image, the zoom will no longer work. What changes in an image after its angle is changed that would prevent zooming.
Re: Changing the angle of an image breaks zoom
Does indeed seem that you can't change the size of an angled image. You might need to work with snapshots instead. Angle the image, take a snapshot, then size the snapshot as needed. Keep the original tucked away to use it for a clean source.
Re: Changing the angle of an image breaks zoom
I think you are on to something there. I was hoping for a more direct solution, but that may be how i have to do it.sturgis wrote:Does indeed seem that you can't change the size of an angled image. You might need to work with snapshots instead. Angle the image, take a snapshot, then size the snapshot as needed. Keep the original tucked away to use it for a clean source.
Re: Changing the angle of an image breaks zoom
I struggled with finding a suitable answer to this too, so I created a sample stack to show the workaround solution and posted it on RevOnline. The file uses snapshots as temp images to show the rotation as Sturgis suggests, it's not perfect, but the script is well commented, so should help anyone trying to achieve the same. Link here… http://revonline2.runrev.com/stack/685/ ... e-an-Image
I hope RunRev will improve this issue in future, I've asked, but if no-one else requests it, they probably won't.
Paul
I hope RunRev will improve this issue in future, I've asked, but if no-one else requests it, they probably won't.

Paul