done write image