En elev har målat ett konstverk. En klasskompis har fått tillstånd att fotografera konstverket och använda bilden.