add ds2img(DataStructure to image)