Login  Register

Re: Magnification of the current image in java

Posted by jumpfunky on Jul 17, 2014; 6:24pm
URL: http://imagej.273.s1.nabble.com/Magnification-of-the-current-image-in-java-tp5008804p5008810.html

That does the job!

Thank you very much.

Cheers,
Thorsten

Am Donnerstag, den 17.07.2014, 18:35 +0200 schrieb Jan Eglinger:

> Hi Thorsten,
>
> On 17.07.2014, 5:30 PM, Thorsten Wagner wrote:
> > in ImageJ, pressing + results in a magnification of the current image.
> >
> > How can I get the current magnification in a java plugin?
>
> You can use the ImageCanvas#getMagnification() method.
>
> See the javadoc:
> http://jenkins.imagej.net/job/ImageJ1-javadoc/javadoc/ij/gui/ImageCanvas.html#getMagnification%28%29
>
> Hope that helps,
> Jan

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html