Login  Register

Re: Returning a value from a plugin

Posted by cihat eldeniz on Apr 03, 2009; 12:01pm
URL: http://imagej.273.s1.nabble.com/Returning-a-value-from-a-plugin-tp3693101p3693104.html

Just a small workaround coming to my mind: I believe you could use the
setProperty function of ImagePlus to embed any value into the image that
you would like to access later. I have no experience with the macro
language but I assume that you can readily access the image properties
through that language.

Thanks.

Gabriel Landini wrote:

>  Just a quick question
>
> Can a plugin return a value? Or is that a bad idea?
>
> If one could, how would one access that value from a macro?
>
> Thanks
>
> Gabriel
>
>