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.
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