started adding indexed color support to imago2