write to image