Did some work on drawColorImage