I don't think so, and I tell you this because of my tests: a\b on different accounts the same image with lower quality and different sizes. They seem to perform both very well. What matters the most is engagement. Said this, in theory, good quality images are always better both for people and algorithms.