Login  Register

Re: Zooming in Macros

Posted by Gluender-3 on Aug 12, 2009; 1:07pm
URL: http://imagej.273.s1.nabble.com/Zooming-in-Macros-tp3691493p3691496.html

>That is great! Thanks!
>
>Do you know if there is also another way to zoom (2x or 4x) without having a
>selection first?
>
>Gluender-3 wrote:
>>
>>>Does anyone know if and how it is possible to set a zoom-factor of an
>image
>>>via a macro?
>>>Ideally I would like to zoom in to get selection to be full-screen.
>>>
>>>
>>>Thanks!
>>>--
>>>View this message in context:
>>>http://n2.nabble.com/Zooming-in-Macros-tp3429998p3429998.html
>>>Sent from the ImageJ mailing list archive at Nabble.com.
>>
>>  What about:
>>
>>  run("To Selection");
>>
>>  Perhaps not perfect but maybe sufficient.
>>  --
>>
>>                     Herbie
>>
>>            ------------------------
>  >           <http://www.gluender.de>

Why not simply use what ImageJ provides:

run("Set... ", "zoom=200");

HTH
--

                   Herbie

          ------------------------
          <http://www.gluender.de>