add GenTestImage.py and ReadImage.py