According to the passage, which of the following contributed to a decline in the demand for painted portraits?
A.The westward migration of many painters
B.The lack of a strong craft tradition
C.The invention of the camera
D.The growing preference for landscape paintings