Taking a photograph of yourself or somebody else nude and sending it to somebody else is a crime.

The teens at Susquenita High School, 15 miles outside of Harrisburg, Pa., who all knew each other, were accused last fall of using their cell phones to take, send, or receive nude photos of each other and in one case a short video of oral sex. That resulted in a felony pornography charge for each minor.
"That was the only charge that really fits what they were doing. What would have been the best thing to charge would be something that would have been a little less severe but would still draw these teenagers' attention to the wrongness of their acts," CBS News quoted Chenot as saying.
Source-ANI