A former city cop says she was raped by a volunteer firefighter after a party at his Long Island station, took photos of her during the attack and sent them to his friends — at least two of whom were NYPD officers, police sources said Tuesday.

One of the officers immediately contacted authorities about the photos, sources said.

He was interviewed by the NYPD’s Internal Affairs Bureau and detectives in Suffolk County, where the alleged rape occurred.

Jonathan Antovel was arrested and charged with first-degree rape, a statement from the Suffolk County Police Department said.

The woman was at the boozy party in Hauppauge, LI, on Dec. 10 along with her attacker, sources said. She left with him and went to his home, sources said.

Once there, he brought her to his bedroom and allegedly removed her clothing.

She passed out at some point, and that’s when he allegedly raped her and took the photos.

The accuser was an NYPD cop for 10 years.