many experiments on reading to and from image files, this is what works