Login  Register

Get the 'changes' flag of an image in a macro

Posted by Tiago Ferreira on Apr 18, 2009; 10:30pm
URL: http://imagej.273.s1.nabble.com/Get-the-changes-flag-of-an-image-in-a-macro-tp3692880.html

Sorry if this will sound silly:

I am trying to detect in a macro if changes have been done to an image.

Using built-in macro functions I know I can use ' setOption("Changes",boolean)'
to SET the 'changes' status of an image, but I don't know how to GET it...

I guess I would need to read the value of  'changes' in class ij.ImagePlus...

Does anyone have an idea on how to obtain this in a macro?

T.