Literature influences painting, sculpture, or film, and in turn, those art forms can influence literature. If you think about it, all those art forms flow from a person's creativity, ingenuity, and willingness to express what they feel or think; with that in mind, you can see that in essence, literature, painting, sculpture, film, and music are expressing the same thing, albeit in different mediums.
The connection between literature and film is the most obvious: if you've gone to the movies, chances are that you've seen the result of that. Quite a few movies that have been put out these past two decades have been based on novels and short stories: Total Recall, Blade Runner, and Minority Report were based off of short stories written by Philllip K. Dick; Misery, The Shawshank Redemption, The Green Mile, and The Mist were based off of stories and novels by Stephen King; Blood and Chocolate was loosely based on a book by the same title by Annette Kurtis Klause. Sometimes, authors take a more direct role in the movie-making process by writing the script: this was so with Clive Barker, whose novel, The Hellbound Heart, inspired the Hellraiser movie franchise, where he wrote the scripts for each Hellraiser movie.
Or, literature can have a more implied influence on film: this was the case with the Matrix Trilogy, which borrowed heavily from the Cyberpunk movement within the science fiction genre, from authors like Bruce Sterling, Neal Stephenson, and William Gibson.
Those other art forms can also influence literature: sometimes, a work of literature attempts to describe a painting, a sculpture, or some other object of aesthetic value: this type of effort has been given the term "ekphrasis."
Or, they serve as an inspiration point for a totally unrelated piece of literature: in those vampire books of recent fame of which I shall not utter their names, the author of those books claims that she is a big fan of Muse, and would listen to the band often while writing: and in the movie that has already come out, a Muse song, "Super Massive Black Hole," found its way into the soundtrack.