Re: Catching an event when the image is saved

Posted by Wayne Rasband on
URL: http://imagej.273.s1.nabble.com/Catching-an-event-when-the-image-is-saved-tp3697039p3697040.html

> Hello All,
>
> Is there a way to catch an event when the image is saved
> (File > Save or File > Save As)?
> ImageListener.imageUpdated() does not work.

You can monitor the imp.changes flag, which is set to false by
File>Save and File>Save As>Tiff.

-wayne