added size parameter to color image creator