get image flags and redone astrometry