logo       

Re: LUTs Tool, Changing the icons ?: msg#00329

java.imagej

Subject: Re: LUTs Tool, Changing the icons ?

I discovered a bug in the macro. Here is an update.
Cheers,

G.

//---------------------->8------------------------
var GLlut=0;
macro "Look Up Tables Tool -
C900L222eCf00L323eCfa0L424eCff5L525eCce6L626eC7f0L727eCbfdL828eC6ddL929eC79fLa2aeC60fLb2beCd0dLc2ceCf8fLd2deCfcfLe2eeCfffLf2fe"{
}

macro "Look Up Tables Tool Options" {
requires("1.34j");
restorePreviousTool();
}

macro "Look Up Tables Tool Selected" {
if (isKeyDown("shift"))
GLlut-=1;
else
GLlut+=1;

if (GLlut<0) GLlut=3;
if (GLlut>3) GLlut=0;

if (bitDepth()!=24){
if (GLlut==1) run("Fire");
else if (GLlut==2) run("Spectrum");
else if (GLlut==3) run("Ice");
else if (GLlut==0) run("Grays");
}
wait(20);
restorePreviousTool();
}

//---------------------->8------------------------



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise