How much did photography "steal" painter jobs ? - eviltoast

With all the fuzz about IA image “stealing” illustrator job, I am curious about how much photography changed the art world in the 19th century.

There was a time where getting a portrait done was a relatively big thing, requiring several days of work for a painter, while you had to stand still for a while so the painter knew what you looked like, and then with photography, all you had to do was to stand still for a few minutes, and you’ll get a picture of you printed on paper the next day.

How did it impact the average painter who was getting paid to paint people once in their lifetime.