Python-based Astronomical image reprojection