Zooming in Macros

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Zooming in Macros

danibodor
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!
Reply | Threaded
Open this post in threaded view
|

Re: Zooming in Macros

Gluender-3
>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>
Reply | Threaded
Open this post in threaded view
|

Re: Zooming in Macros

danibodor
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>
Reply | Threaded
Open this post in threaded view
|

Re: Zooming in Macros

Gluender-3
>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>
Reply | Threaded
Open this post in threaded view
|

Re: Zooming in Macros

danibodor
I am not sure whether we are using the same version of ImageJ (mine is 1.41o), but the Set function is not recognized when I try it...


Gluender-3 wrote
Why not simply use what ImageJ provides:

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

HTH
--

                   Herbie

          ------------------------
          <http://www.gluender.de>
Reply | Threaded
Open this post in threaded view
|

Antwort: Re: Zooming in Macros

Joachim Wesner
H.

you need to upgrade to 1.42k at least!! (Also good info for me, as I had
the same problem before, however, from a Java plugin)

(Form the ImageJ News site)

      1.42k, 6 March 2009
      Added the Image>Zoom>Set command, which is based on Albert Cardona's
ZoomExact plugin.


Mit freundlichen Grüßen / Best regards

Joachim Wesner



                                                                           
             danibodor                                                    
             <d.bodor@STUDENTS                                            
             .UU.NL>                                                    An
             Gesendet von:              [hidden email]                
             ImageJ Interest                                         Kopie
             Group                                                        
             <[hidden email].                                       Thema
             GOV>                       Re: Zooming in Macros              
                                                                           
                                                                           
             12.08.2009 16:14                                              
                                                                           
                                                                           
              Bitte antworten                                              
                    an                                                    
              ImageJ Interest                                              
                   Group                                                  
             <[hidden email].                                            
                   GOV>                                                    
                                                                           
                                                                           




I am not sure whether we are using the same version of ImageJ (mine is
1.41o), but the Set function is not recognized when I try it...



Gluender-3 wrote:

>
> Why not simply use what ImageJ provides:
>
> run("Set... ", "zoom=200");
>
> HTH
> --
>
>                    Herbie
>
>           ------------------------
>           <http://www.gluender.de>
>
>

--
View this message in context:
http://n2.nabble.com/Zooming-in-Macros-tp3429998p3431017.html
Sent from the ImageJ mailing list archive at Nabble.com.



______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________
Reply | Threaded
Open this post in threaded view
|

Re: Zooming in Macros

Gluender-3
In reply to this post by danibodor
>I am not sure whether we are using the same version of ImageJ (mine is
>1.41o), but the Set function is not recognized when I try it...
>
>
>
>Gluender-3 wrote:
>>
>>  Why not simply use what ImageJ provides:
>>
>>  run("Set... ", "zoom=200");
>>
>>  HTH
>>  --
>>
>  >                    Herbie

Evidently we don't use the same IJ-version. Sorry for making implicit
assumptions about the IJ-version. 1.41o is outdated since 10 months
now (current version is 1-43e)!

It's a good idea to try the most recent version of IJ before complaining.
--

                   Herbie

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