Re: Automating the Zoom
Posted by Tony Shepherd on Feb 13, 2007; 5:49pm
URL: http://imagej.273.s1.nabble.com/Automating-the-Zoom-tp3700338p3700339.html
The problem is I can change the canvas but not the window. If I go:
imp.getWindow.getCanvas.setMagnification(2.0);
imp.updateAndDraw(); ( ... OR imp.updateAndRepaintWindow();)
then the magnified canvas is displayed inside a 'normal sized' window, i.e.
you just see the top-left portion of the bigger image and you have to drag
the window from the bottom right corner to see the rest of it.