how to crete rgb images.

A simple code sample.