Imaging of Mercury and Venus from a flyby