Re: Bug with Binary Options ?

Posted by Wayne Rasband-2 on
URL: http://imagej.273.s1.nabble.com/Bug-with-Binary-Options-tp5024683p5024703.html

> On Jun 2, 2021, at 6:02 AM, Thomas Boudier <[hidden email]> wrote:
>
> Hi all,
>
> In the latest ImageJ version 1.53j, I think there may be a problem with Binary Options, especially the "Black background" option.
>
> When I check "Black background", it is not saved and it returns back to unchecked when I reopen ImageJ.

The "Black background” option in the Processor>Binary>Options dialog is not saved in the preferences
 file so that the option has a consistent state when ImageJ launches. The best way to insure "Black background” is set is to add

   setOption("BlackBackground", true);

to the Edit>Options>Startup dialog.

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