I didn’t know about the option to run macros on ImageJ startup and this is great.
Edit>Options>Startup... runs fine on Win 10 with ImageJ 1.52t23 Java 1.8 but returns errors with Fiji version of ImageJ 1.53k3 Java 1.8.0_172 (Fiji Is Just) ImageJ 2.0.0-rc-69/1.53k3; Java 1.8.0_172 [64-bit]; Windows 10 10.0; 57MB of 50000MB (<1%) java.lang.NullPointerException at ij.gui.GenericDialog.addTextAreas(GenericDialog.java:738) at ij.plugin.Startup.showDialog(Startup.java:59) at ij.plugin.Startup.run(Startup.java:31) at ij.IJ.runPlugIn(IJ.java:210) at ij.Executer.runCommand(Executer.java:151) at ij.Executer.run(Executer.java:69) at java.lang.Thread.run(Thread.java:748) Cheers- Michael Cammer -----Original Message----- From: ImageJ Interest Group <[hidden email]> On Behalf Of Wayne Rasband Sent: Monday, June 7, 2021 3:00 PM Subject: Re: Bug with Binary Options ? [EXTERNAL] > 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 ------------------------------------------------------------ This email message, including any attachments, is for the sole use of the intended recipient(s) and may contain information that is proprietary, confidential, and exempt from disclosure under applicable law. Any unauthorized review, use, disclosure, or distribution is prohibited. If you have received this email in error please notify the sender by return email and delete the original message. Please note, the recipient should check this email and any attachments for the presence of viruses. The organization accepts no liability for any damage caused by any virus transmitted by this email. ================================= -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
> On Jun 7, 2021, at 3:08 PM, Cammer, Michael <[hidden email]> wrote:
> > I didn’t know about the option to run macros on ImageJ startup and this is great. > > Edit>Options>Startup... > runs fine on Win 10 with ImageJ 1.52t23 Java 1.8 but returns errors with Fiji version of ImageJ 1.53k3 Java 1.8.0_172 This bug is fixed in the ImageJ 1.53k4 daily build. -wayne > (Fiji Is Just) ImageJ 2.0.0-rc-69/1.53k3; Java 1.8.0_172 [64-bit]; Windows 10 10.0; 57MB of 50000MB (<1%) > java.lang.NullPointerException > at ij.gui.GenericDialog.addTextAreas(GenericDialog.java:738) > at ij.plugin.Startup.showDialog(Startup.java:59) > at ij.plugin.Startup.run(Startup.java:31) > at ij.IJ.runPlugIn(IJ.java:210) > at ij.Executer.runCommand(Executer.java:151) > at ij.Executer.run(Executer.java:69) > at java.lang.Thread.run(Thread.java:748) > > > Cheers- > > Michael Cammer > > > > > > > -----Original Message----- > From: ImageJ Interest Group <[hidden email]> On Behalf Of Wayne Rasband > Sent: Monday, June 7, 2021 3:00 PM > Subject: Re: Bug with Binary Options ? > > [EXTERNAL] > >> 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 |
Free forum by Nabble | Edit this page |