Re: Auto Scale Image View to 100%

Posted by Cochella Chris on
URL: http://imagej.273.s1.nabble.com/Auto-Scale-Image-View-to-100-tp3693384p3693389.html

Alberto,

Thanks.  I am having a hard time getting my head around this.

We are running a web application for expert reviewers of medical  
cases.  Thus, as the reviewer enters a new case we need to close prior  
images and open new images.

My first thought is to run ImageJ as an embedded applet (using ImageJA  
for now).  However, there seems to be a lot more functionality with  
the Java WebStart (looked at the one here http://rsbweb.nih.gov/ij/applets.html)


Does  the "autorun macro" work for the applet or Java Webstart?  Is  
one better than the other?

How would I dynamically open/close/open sets of images as a reviewer  
moves from case to case?


My apologies if I am a bit dense here...


Thanks,
Chris

 >>
Albert's plugin is built into the ImageJ 1.42k daily build as the  
Image>Zoom>Exact command so you can open an image from a URL at 100%  
using macro code, for example:

   open("http://rsb.info.nih.gov/ij/images/NileBend.jpg");
   run("Exact...", "zoom=100");
<<



On Mar 5, 2009, at 8:47 AM, Albert Cardona wrote:

>> I would prefer not to output all the javascript code as the above  
>> is a nice simple solution.
>>
>> Are there any attributes I can put in the "param" element and/or  
>> the applet element?
>
>
> Just put, into the autorun macro, a macro that runs the zooming 100%  
> for each open image.
> I have no idea how that is done for an applet.
>
> Albert
>
> --
> Albert Cardona
> http://albert.rierol.net