Inferring Painting Style with Multi-Task Dictionary Learning