Yeah, I do not buy the idea that Photography replaced painting. Especially since capturing abstract forms, and less realistic interpretations is still something hard to accomplish in photos.
It did absolutely replace the need to commission someone to draw you, I guess. But that is a small subsection of what painting is and was.