Earlier quoted context omitted.
There are two different types of attacks. One is fly-by attacks by random viruses and ransomware. For those cases, I would not worry about pictures. Other is when you are targeted by regimes with essentially unlimited budget. In that case yes, the picture can be a spyware.
How does one know which category they are in?
But nobody is going to burn zero days on mass surveillance. It’s just for specifically targeted people.