Furthermore, if I remove either the "Fill" or "Clear Outside" command it is the Selection that is used, not the created and selected Ellipse. If I select manually the line of code and execute it, the Ellipse is used.
Kees -----Original Message----- From: Straatman, Kees (Dr.) Sent: 20 February 2024 08:33 To: [email protected] Subject: Re: Problem with Fill and Clear Outside in macros ***CAUTION:*** This email was sent from an EXTERNAL source. Think before clicking links or opening attachments. On my windows the same, but if I switch the lines to run("Fill", "slice"); run("Clear Outside", "slice"); I get slice 50 white, rest black Kees -----Original Message----- From: Gabriel Landini Sent: 19 February 2024 22:29 To: [email protected] Subject: Re: Problem with Fill and Clear Outside in macros ***CAUTION:*** This email was sent from an EXTERNAL source. Think before clicking links or opening attachments. On 19/02/2024 21:17, Stein Rørvik wrote: > The problem is that "Fill" fills with the background color instead of > the foreground color. It fills correctly on the first selected slice. Hm... in my linux install it does not fill slice 50 with the foreground colour either. :-( All those slices are black with a red overlay. Cheers Gabriel -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html
