Sprite collision

I want to make it possible for my character to collide with the black walls in this maze. How can I easly add collission to all the walls?

50566-maze.png