imageize works

eg.

x.ifthenelse [255,0,0], [0,0,255]
x.bandjoin 255