Although international law doesn't spell it out verbatim, the generally accepted principle is that sovereignty does not extend to the altitude where satellites fly. As such, it's impossible to prevent anyone from taking pictures of any country from space.