I have a painting. How can I automatically turn it into a photo?

I shared this before here: A Neural Algorithm of Artistic Style - #39 by afre, which is a good thread to read. But I suppose this deserves its own thread.