Converts an image into a painting