Before the arrival of photography, the Western imagination of China was based on paintings, written travelogues and dispatches from a seemingly far-off land.