Not illegal. In fact the school I went to last does this all the time, located in Pleasant Hill California. As for the who told me about this, it was a chemical engineer who is also a photographer, named Bruce Barnbaum.