Sensor size and type have a significant impact on image quality. Medium format sensors are generally better than full-frame sensors, which in turn are better than crop sensors. Larger photosites on a sensor capture more light and result in better image quality.