The highest resolution camera is the Hubble's Advanced Camera for Surveys' High-Resolution Channel instrument, with a pixel resolution of 0.025 arcseconds. Suppose a giant star with a diameter 2000 times that of the Sun was a mere 120 light years away or so. The HRC would see that star as 20 pixel diameter circle. This is adequate to measure the star's diameter to within 10% accuracy. The HRC could resolve such a star as being more than a spot (larger than one pixel in diameter) at ten times that distance. For a star the size of the Sun, the star would have to be less than 0.61 light years away for the HRC to resolve it as being more than a spot.
Astronomers can do better with arrays of telescopes. Milliarcsecond resolutions are now feasible. At the milliarcsecond level, a sun sized star remains larger than a spot even at 15 light years distance.