writing from images