Create resample-image.py