Overlay Stroke Color does not change

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Overlay Stroke Color does not change

ERIC
Hi All,
I am trying to get a multicolor overlay using the macro code :

width=10;
color=("green");
run("Add Selection...", "width="+width+" stroke="+color);

  The width can be changed but the color is always red.
I am not able neither to get transparency using : color=("#77990000")
for exemple
I found the code in a macro from
http://rsbweb.nih.gov/ij/macros/Merz_grid.txt.
I am using imageJ 1.49m2.

Any Idea ?




--

Eric Denarier
Grenoble Institut des Neurosciences
Inserm U836
Chemin Fortuné Ferrini
38700 La Tronche
France


Tél :33 (0)4 56 52 05 38
Fax :33 (0)4 56 52 06 57

http://neurosciences.ujf-grenoble.fr/

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: Overlay Stroke Color does not change

ERIC
Oops !!!! Too many Brackets. Its better with : color="green";

Eric Denarier
Grenoble Institut des Neurosciences
Inserm U836
Chemin Fortuné Ferrini
38700 La Tronche
France


Tél :33 (0)4 56 52 05 38
Fax :33 (0)4 56 52 06 57

http://neurosciences.ujf-grenoble.fr/

Le 03/02/2015 16:23, Eric Denarier a écrit :

> Hi All,
> I am trying to get a multicolor overlay using the macro code :
>
> width=10;
> color=("green");
> run("Add Selection...", "width="+width+" stroke="+color);
>
>  The width can be changed but the color is always red.
> I am not able neither to get transparency using : color=("#77990000")
> for exemple
> I found the code in a macro from
> http://rsbweb.nih.gov/ij/macros/Merz_grid.txt.
> I am using imageJ 1.49m2.
>
> Any Idea ?
>
>
>
>

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