Test for writing color images using gdcmstream